org.enhydra.xml.xmlc.metadata
Class MetaData

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.MetaData
All Implemented Interfaces:
Cloneable, Element, EventTarget, Node, NodeList, Serializable, TypeInfo

public class MetaData
extends MetaDataElement

Root element of XMLC metadata. The child elements of this class represent the major sections of the XMLC metadata. Only one instance of a section element object can exist. All sections are created on first reference if they don't exist to make it easy to use them to get defaults.

See Also:
Serialized Form

Inner classes inherited from class org.enhydra.apache.xerces.dom.ParentNode
org.enhydra.apache.xerces.dom.ParentNode.UserDataRecord
 
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
firstChild, fNodeListCache, ownerDocument
 
Fields inherited from class org.enhydra.apache.xerces.dom.ChildNode
nextSibling, previousSibling
 
Fields inherited from class org.enhydra.apache.xerces.dom.NodeImpl
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE
 
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
 
Fields inherited from interface org.w3c.dom.TypeInfo
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION
 
Constructor Summary
MetaData(Document ownerDoc)
          Constructor.
 
Method Summary
 CompileOptions getCompileOptions()
          Get the compile options or null if it doesn't exist.
 DocumentClass getDocumentClass()
          Get the document class metadata or null if it doesn't exist.
 DocumentSection getDocumentSection()
          Get the document metadata or null if it doesn't exist.
 DOMEdits getDOMEdits()
          Get the DOM edits metadata or null if it doesn't exist.
 HTMLSection getHTMLSection()
          Get the HTML metadata or null if it doesn't exist.
 InputDocument getInputDocument()
          Get the input document or null if it doesn't exist.
 JavaCompilerSection getJavaCompilerSection()
          Get the java compiler metadata or null if it doesn't exist.
 Parser getParser()
          Get the parser metadata or null if it doesn't exist.
protected  void mergeElement(MetaDataElement srcElement)
          Merge another element into this element.
 void setCompileOptions(CompileOptions compileOptions)
          Set the compile options, or delete by specifying null.
 void setDocumentClass(DocumentClass documentClass)
          Set the document class metdata, or delete by specifying null.
 void setDocumentSection(DocumentSection documentMetaData)
          Set the document metadata, or delete by specifying null.
 void setDOMEdits(DOMEdits domEditsMetaData)
          Set the DOM edits metadata, or delete by specifying null.
 void setHTMLSection(HTMLSection htmlMetaData)
          Set the HTML metadata, or delete by specifying null.
 void setInputDocument(InputDocument inputDocument)
          Set the input document, or delete by specifying null.
 void setJavaCompiler(JavaCompilerSection compilerSection)
          Set the java compiler metadata, or delete by specifying null.
 void setParser(Parser parser)
          Set the parser metadata, or delete by setting to null.
 
Methods inherited from class org.enhydra.xml.xmlc.metadata.MetaDataElement
addStringArrayAttribute, completeModifications, deleteChild, getAttributeNull, getBooleanAttribute, getBooleanAttribute, getBooleanObjectAttribute, getChild, getChildren, getCreateChild, getDocument, getMetaData, getStringArrayAttribute, isAttributeSpecified, mergeAttributes, mergeSingletonChild, setBooleanAttribute, setBooleanAttribute, setBooleanObjectAttribute, setChild, setRemoveAttribute, setRemoveStringArrayAttribute
 
Methods inherited from class org.enhydra.apache.xerces.dom.ElementImpl
cloneNode, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getBaseURI, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getTypeName, getTypeNamespace, getXercesAttribute, hasAttribute, hasAttributeNS, hasAttributes, isDerivedFrom, isEqualNode, moveSpecifiedAttributes, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, rename, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData
 
Methods inherited from class org.enhydra.apache.xerces.dom.ParentNode
checkNormalizationAfterInsert, checkNormalizationAfterRemove, getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, getTextContent, hasChildNodes, hasTextContent, insertBefore, internalInsertBefore, internalRemoveChild, item, lastChild, lastChild, ownerDocument, removeChild, replaceChild, setTextContent, 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, compareTreePosition, dispatchEvent, getContainer, getElementAncestor, getFeature, getLocalName, getNamespaceURI, getNodeNumber, getNodeValue, getPrefix, getReadOnly, getUserData, getUserData, getUserDataRecord, hasStringValue, hasStringValue, internalIsIgnorableWhitespace, isDefaultNamespace, isFirstChild, isFirstChild, isIdAttribute, isIdAttribute, isIgnorableWhitespace, isNormalized, isNormalized, isOwned, isOwned, isReadOnly, isReadOnly, isSameNode, isSpecified, isSpecified, isSupported, lookupNamespacePrefix, lookupNamespaceURI, lookupPrefix, needsSyncChildren, needsSyncChildren, needsSyncData, needsSyncData, removeEventListener, setNodeValue, setPrefix, 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, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasChildNodes, insertBefore, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
 

Field Detail

TAG_NAME

public static final String TAG_NAME
Element name.
Constructor Detail

MetaData

public MetaData(Document ownerDoc)
Constructor.
Method Detail

getParser

public Parser getParser()
Get the parser metadata or null if it doesn't exist.

setParser

public void setParser(Parser parser)
Set the parser metadata, or delete by setting to null.

getDocumentClass

public DocumentClass getDocumentClass()
Get the document class metadata or null if it doesn't exist.

setDocumentClass

public void setDocumentClass(DocumentClass documentClass)
Set the document class metdata, or delete by specifying null.

getHTMLSection

public HTMLSection getHTMLSection()
Get the HTML metadata or null if it doesn't exist.

setHTMLSection

public void setHTMLSection(HTMLSection htmlMetaData)
Set the HTML metadata, or delete by specifying null.

getDOMEdits

public DOMEdits getDOMEdits()
Get the DOM edits metadata or null if it doesn't exist.

setDOMEdits

public void setDOMEdits(DOMEdits domEditsMetaData)
Set the DOM edits metadata, or delete by specifying null.

getJavaCompilerSection

public JavaCompilerSection getJavaCompilerSection()
Get the java compiler metadata or null if it doesn't exist.

setJavaCompiler

public void setJavaCompiler(JavaCompilerSection compilerSection)
Set the java compiler metadata, or delete by specifying null.

getDocumentSection

public DocumentSection getDocumentSection()
Get the document metadata or null if it doesn't exist.

setDocumentSection

public void setDocumentSection(DocumentSection documentMetaData)
Set the document metadata, or delete by specifying null.

getCompileOptions

public CompileOptions getCompileOptions()
Get the compile options or null if it doesn't exist.

setCompileOptions

public void setCompileOptions(CompileOptions compileOptions)
Set the compile options, or delete by specifying null.

getInputDocument

public InputDocument getInputDocument()
Get the input document or null if it doesn't exist.

setInputDocument

public void setInputDocument(InputDocument inputDocument)
Set the input document, or delete by specifying null.

mergeElement

protected void mergeElement(MetaDataElement srcElement)
Merge another element into this element. Don't append clones of the children, merge them.
Overrides:
mergeElement in class MetaDataElement


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