org.enhydra.xml.xmlc.metadata
Class CompileOptions

java.lang.Object
  |
  +--org.enhydra.apache.xerces.dom.NodeImpl
        |
        +--org.enhydra.apache.xerces.dom.ChildNode
              |
              +--org.enhydra.apache.xerces.dom.ParentNode
                    |
                    +--org.enhydra.apache.xerces.dom.ElementImpl
                          |
                          +--org.enhydra.xml.xmlc.metadata.MetaDataElement
                                |
                                +--org.enhydra.xml.xmlc.metadata.CompileOptions
All Implemented Interfaces:
Cloneable, Element, EventTarget, Node, NodeList, Serializable

public class CompileOptions
extends MetaDataElement

Specifies options for the document compiler.

See Also:
Serialized Form

Field Summary
static String TAG_NAME
          Element name.
 
Fields inherited from class org.enhydra.apache.xerces.dom.ElementImpl
attributes, name, serialVersionUID
 
Fields inherited from class org.enhydra.apache.xerces.dom.ParentNode
fCachedChild, fCachedChildIndex, fCachedLength, firstChild, ownerDocument
 
Fields inherited from class org.enhydra.apache.xerces.dom.ChildNode
nextSibling, previousSibling
 
Fields inherited from class org.enhydra.apache.xerces.dom.NodeImpl
ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, IGNORABLEWS, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, UNNORMALIZED
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Constructor Summary
CompileOptions(Document ownerDoc)
          Constructor.
 
Method Summary
protected  void completeModifications()
          Complete modifications to DOM.
 String getClassOutputRoot()
          Get the classOutputRoot attribute.
 boolean getCompileSource()
          Get the compileSource attribute or the default value if not specified.
 boolean getCreateSource()
          Get the createSource attribute or the default value if not specified.
 String getDocumentOutput()
          Get the documentOutput attribute.
 String getInputDocument()
          Deprecated. use InputDocument#getUrl()
 boolean getKeepGeneratedSource()
          Get the keepGeneratedSource attribute.
 File getPackageOutputDir()
          Get the package output directory, obtained from the classOutputRoot attribute and package name.
 boolean getPrintAccessorInfo()
          Get the printAccessorInfo attribute.
 boolean getPrintDocumentInfo()
          Get the printDocumentInfo attribute.
 boolean getPrintDOM()
          Get the printDOM attribute.
 boolean getPrintParseInfo()
          Get the printParseInfo attribute.
 boolean getPrintVersion()
          Get the printVersion attribute.
 String getSourceOutputRoot()
          Get the sourceOutputRoot attribute.
 boolean getVerbose()
          Get the verbose attribute.
 boolean getWarnings()
          Get the parser warning flag.
 boolean isCompileSourceSpecified()
          Determine if the compileSource attribute is specified.
 boolean isCreateSourceSpecified()
          Determine if the createSource attribute is specified.
 void setClassOutputRoot(String value)
          Set the classOutputRoot attribute.
 void setCompileSource(boolean value)
          Set the compileSource attribute.
 void setCreateSource(boolean value)
          Set the createSource attribute.
 void setDocumentOutput(String value)
          Set the documentOutput attribute.
 void setInputDocument(String value)
          Deprecated. use InputDocument#setUrl(String)
 void setKeepGeneratedSource(boolean value)
          Set the keepGeneratedSource attribute.
 void setPrintAccessorInfo(boolean value)
          Set the printAccessorInfo attribute.
 void setPrintDocumentInfo(boolean value)
          Set the printDocumentInfo attribute.
 void setPrintDOM(boolean value)
          Set the printDOM attribute.
 void setPrintParseInfo(boolean value)
          Set the printParseInfo attribute.
 void setPrintVersion(boolean value)
          Set the printVersion attribute.
 void setSourceOutputRoot(String value)
          Set the sourceOutputRoot attribute.
 void setVerbose(boolean value)
          Set the verbose attribute.
 void setWarnings(boolean warnings)
          Set the document validation flag.
 
Methods inherited from class org.enhydra.xml.xmlc.metadata.MetaDataElement
addStringArrayAttribute, deleteChild, getAttributeNull, getBooleanAttribute, getBooleanAttribute, getBooleanObjectAttribute, getChild, getChildren, getCreateChild, getDocument, getMetaData, getStringArrayAttribute, isAttributeSpecified, mergeAttributes, mergeElement, mergeSingletonChild, setBooleanAttribute, setBooleanAttribute, setBooleanObjectAttribute, setChild, setRemoveAttribute, setRemoveStringArrayAttribute
 
Methods inherited from class org.enhydra.apache.xerces.dom.ElementImpl
cloneNode, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, hasAttributes, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, synchronizeData
 
Methods inherited from class org.enhydra.apache.xerces.dom.ParentNode
checkNormalizationAfterInsert, checkNormalizationAfterRemove, getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, hasChildNodes, insertBefore, internalInsertBefore, internalRemoveChild, item, lastChild, lastChild, ownerDocument, removeChild, replaceChild, synchronizeChildren
 
Methods inherited from class org.enhydra.apache.xerces.dom.ChildNode
getNextSibling, getParentNode, getPreviousSibling, parentNode, previousSibling
 
Methods inherited from class org.enhydra.apache.xerces.dom.NodeImpl
addEventListener, appendChild, changed, changes, compareDocumentPosition, dispatchEvent, getBaseURI, getFeature, getLocalName, getNamespaceURI, getNodeValue, getPrefix, getReadOnly, getTextContent, getUserData, getUserData, hasStringValue, hasStringValue, internalIsIgnorableWhitespace, isDefaultNamespace, isEqualNode, isFirstChild, isFirstChild, isIgnorableWhitespace, isNormalized, isNormalized, isOwned, isOwned, isReadOnly, isReadOnly, isSameNode, isSpecified, isSpecified, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, needsSyncChildren, needsSyncData, needsSyncData, removeEventListener, setNodeValue, setPrefix, setTextContent, setUserData, setUserData, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.Node
appendChild, compareDocumentPosition, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
 

Field Detail

TAG_NAME

public static final String TAG_NAME
Element name.
Constructor Detail

CompileOptions

public CompileOptions(Document ownerDoc)
Constructor.
Method Detail

getVerbose

public boolean getVerbose()
Get the verbose attribute.

setVerbose

public void setVerbose(boolean value)
Set the verbose attribute.

getPrintVersion

public boolean getPrintVersion()
Get the printVersion attribute.

setPrintVersion

public void setPrintVersion(boolean value)
Set the printVersion attribute.

getPrintDocumentInfo

public boolean getPrintDocumentInfo()
Get the printDocumentInfo attribute.

setPrintDocumentInfo

public void setPrintDocumentInfo(boolean value)
Set the printDocumentInfo attribute.

getPrintParseInfo

public boolean getPrintParseInfo()
Get the printParseInfo attribute.

setPrintParseInfo

public void setPrintParseInfo(boolean value)
Set the printParseInfo attribute.

getPrintDOM

public boolean getPrintDOM()
Get the printDOM attribute.

setPrintDOM

public void setPrintDOM(boolean value)
Set the printDOM attribute.

getPrintAccessorInfo

public boolean getPrintAccessorInfo()
Get the printAccessorInfo attribute.

setPrintAccessorInfo

public void setPrintAccessorInfo(boolean value)
Set the printAccessorInfo attribute.

getKeepGeneratedSource

public boolean getKeepGeneratedSource()
Get the keepGeneratedSource attribute.

setKeepGeneratedSource

public void setKeepGeneratedSource(boolean value)
Set the keepGeneratedSource attribute.

getCompileSource

public boolean getCompileSource()
Get the compileSource attribute or the default value if not specified. The default for this attribute is true.

setCompileSource

public void setCompileSource(boolean value)
Set the compileSource attribute.

isCompileSourceSpecified

public boolean isCompileSourceSpecified()
Determine if the compileSource attribute is specified.

getCreateSource

public boolean getCreateSource()
Get the createSource attribute or the default value if not specified. The default for this attribute is true.

setCreateSource

public void setCreateSource(boolean value)
Set the createSource attribute.

isCreateSourceSpecified

public boolean isCreateSourceSpecified()
Determine if the createSource attribute is specified.

getSourceOutputRoot

public String getSourceOutputRoot()
Get the sourceOutputRoot attribute.

setSourceOutputRoot

public void setSourceOutputRoot(String value)
Set the sourceOutputRoot attribute.

getClassOutputRoot

public String getClassOutputRoot()
Get the classOutputRoot attribute.

setClassOutputRoot

public void setClassOutputRoot(String value)
Set the classOutputRoot attribute.

getPackageOutputDir

public File getPackageOutputDir()
Get the package output directory, obtained from the classOutputRoot attribute and package name. Null if returned classOutputRoot is not specified.

getDocumentOutput

public String getDocumentOutput()
Get the documentOutput attribute.

setDocumentOutput

public void setDocumentOutput(String value)
Set the documentOutput attribute.

getWarnings

public boolean getWarnings()
Get the parser warning flag. Returns null if not specified.

setWarnings

public void setWarnings(boolean warnings)
Set the document validation flag.

completeModifications

protected void completeModifications()
                              throws XMLCException
Complete modifications to DOM. Move d
Overrides:
completeModifications in class MetaDataElement

getInputDocument

public String getInputDocument()
Deprecated. use InputDocument#getUrl()

Get the inputDocument attribute.
See Also:
Include.getUrl()

setInputDocument

public void setInputDocument(String value)
Deprecated. use InputDocument#setUrl(String)

Set the inputDocument attribute.
See Also:
Include.setUrl(String)


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