Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.outerj.pollo.legacy
Class DisplaySpecificationToZeroDotFour  view DisplaySpecificationToZeroDotFour download DisplaySpecificationToZeroDotFour.java

java.lang.Object
  extended byorg.outerj.pollo.legacy.DisplaySpecificationToZeroDotFour

public class DisplaySpecificationToZeroDotFour
extends java.lang.Object

Command-line utility class to convert pre-0.4 Pollo display specification files to the 0.4 format. This code was written in half an hour, and is butt-ugly, but at least worked for all Pollo's default display specifications. To use it, pass to parameters on the command line: infile and outfile.


Constructor Summary
DisplaySpecificationToZeroDotFour()
           
 
Method Summary
 void convert(java.lang.String fromPath, java.lang.String toPath)
           
static void main(java.lang.String[] args)
           
 void streamNSAttributes(org.w3c.dom.Element element, org.xml.sax.ContentHandler ch, org.xml.sax.helpers.AttributesImpl attrs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisplaySpecificationToZeroDotFour

public DisplaySpecificationToZeroDotFour()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception

convert

public void convert(java.lang.String fromPath,
                    java.lang.String toPath)
             throws java.lang.Exception

streamNSAttributes

public void streamNSAttributes(org.w3c.dom.Element element,
                               org.xml.sax.ContentHandler ch,
                               org.xml.sax.helpers.AttributesImpl attrs)
                        throws java.lang.Exception