org.enhydra.xml.xmlc.commands.xmlc
Class XMLC

java.lang.Object
  |
  +--org.enhydra.xml.xmlc.commands.xmlc.XMLC

public class XMLC
extends Object

XMLC compiler program. See the user manual for details on the command line. Will look for a system property `org.enhydra.xml.xmlc.javac' to find the compiler to use if -javac is not specified.


Field Summary
static String JAVAC_PROPERTY
          System property to pass default javac.
 
Constructor Summary
XMLC()
          Constructor with standard output streams.
XMLC(PrintWriter stdout, PrintWriter stderr)
          Constructor specifying output stream for error messages.
 
Method Summary
 void compile(String[] args)
          Parse arguments and compile the page.
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JAVAC_PROPERTY

public static final String JAVAC_PROPERTY
System property to pass default javac.
Constructor Detail

XMLC

public XMLC(PrintWriter stdout,
            PrintWriter stderr)
Constructor specifying output stream for error messages.

XMLC

public XMLC()
Constructor with standard output streams.
Method Detail

compile

public void compile(String[] args)
             throws XMLCException,
                    IOException
Parse arguments and compile the page. If this method is used, errors are thrown, exit will not be called.

main

public static void main(String[] args)


Copyright © 1999-2002 enhydra.org (Mark Diekhans, David Li, Richard Kunze). All Rights reserved.