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

Quick Search    Search Deep

org.enhydra.kelp.common.wizard.xmlc
Class XMLCRunner  view XMLCRunner download XMLCRunner.java

java.lang.Object
  extended byorg.enhydra.kelp.common.wizard.xmlc.XMLCRunner

public class XMLCRunner
extends java.lang.Object

Class derived from the XMLC compiler program for use in this wizard. TODO: Mark may change some things that will require changes to this class.


Field Summary
private  org.w3c.dom.Document document
           
private  java.lang.String JAVA_LANG
           
private  org.enhydra.kelp.common.node.OtterXMLCNode node
           
(package private) static java.util.ResourceBundle res
           
private  java.io.PrintWriter traceWriter
           
private  org.enhydra.xml.xmlc.dom.XMLCDocument xmlcDoc
           
 
Constructor Summary
XMLCRunner()
          Constructor declaration
 
Method Summary
 void compile()
          Method declaration
private  void compilePage()
          Method declaration
private  void generateJavaSource()
          Method declaration
private  void generateJavaSourceInfo()
          Method declaration
 java.io.PrintWriter getTraceWriter()
          Method declaration
private  void parsePage()
          Method declaration
 void printException(java.lang.Throwable except)
          Method declaration
private  void printStackTrace(java.lang.Throwable except)
          Method declaration
private  void printVersion()
          Print the XMLC version number.
 void setNode(org.enhydra.kelp.common.node.OtterXMLCNode n)
          Method declaration
 void setTraceWriter(java.io.PrintWriter tw)
          Method declaration
private  void writeDOM()
          Write the DOM to a file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

res

static java.util.ResourceBundle res

JAVA_LANG

private final java.lang.String JAVA_LANG
See Also:
Constant Field Values

node

private org.enhydra.kelp.common.node.OtterXMLCNode node

document

private org.w3c.dom.Document document

traceWriter

private java.io.PrintWriter traceWriter

xmlcDoc

private org.enhydra.xml.xmlc.dom.XMLCDocument xmlcDoc
Constructor Detail

XMLCRunner

public XMLCRunner()
Constructor declaration

Method Detail

setTraceWriter

public void setTraceWriter(java.io.PrintWriter tw)
Method declaration


getTraceWriter

public java.io.PrintWriter getTraceWriter()
Method declaration


printStackTrace

private void printStackTrace(java.lang.Throwable except)
Method declaration


printException

public void printException(java.lang.Throwable except)
Method declaration


parsePage

private void parsePage()
                throws java.lang.Throwable
Method declaration


generateJavaSource

private void generateJavaSource()
                         throws org.enhydra.xml.xmlc.XMLCException,
                                java.io.IOException
Method declaration


generateJavaSourceInfo

private void generateJavaSourceInfo()
                             throws org.enhydra.xml.xmlc.XMLCException,
                                    java.io.IOException
Method declaration


writeDOM

private void writeDOM()
               throws java.io.IOException
Write the DOM to a file.


compilePage

private void compilePage()
                  throws org.enhydra.xml.xmlc.XMLCException,
                         java.io.FileNotFoundException,
                         java.io.IOException
Method declaration


printVersion

private void printVersion()
Print the XMLC version number.


compile

public void compile()
             throws java.lang.Throwable
Method declaration


setNode

public void setNode(org.enhydra.kelp.common.node.OtterXMLCNode n)
Method declaration