org.enhydra.xml.xmlc.compiler
Class Javac

java.lang.Object
  |
  +--org.enhydra.xml.xmlc.compiler.Javac

public class Javac
extends Object

Compile generated classes.


Constructor Summary
Javac()
           
 
Method Summary
 void compile(MetaData metaData, ErrorReporter errorReporter, PrintWriter verboseOut)
          Run a javac process.
 void setThrowErrorMsgs(boolean enable)
          Enable collecting errors and throwing them in an exception.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Javac

public Javac()
Method Detail

setThrowErrorMsgs

public void setThrowErrorMsgs(boolean enable)
Enable collecting errors and throwing them in an exception.

compile

public void compile(MetaData metaData,
                    ErrorReporter errorReporter,
                    PrintWriter verboseOut)
             throws XMLCException
Run a javac process. Stdout/stderr are written to the standard descriptors.
Parameters:
metaData - Document metadata.
errorReporter - Write errors to this object.
verboseOut - Write verbose message to this file if not null.


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