org.enhydra.xml.xmlc.metadata
Class Parser

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.Parser
All Implemented Interfaces:
java.lang.Cloneable, org.w3c.dom.Element, org.w3c.dom.events.EventTarget, org.w3c.dom.Node, org.w3c.dom.NodeList, java.io.Serializable

public class Parser
extends MetaDataElement

Specifies the parser and parsing options.

See Also:
Serialized Form

Field Summary
static java.lang.String TAG_NAME
          Element name.
 
Fields inherited from class org.enhydra.apache.xerces.dom.ElementImpl
attributes, name
 
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_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Constructor Summary
Parser(org.w3c.dom.Document ownerDoc)
          Constructor.
 
Method Summary
 XCatalog addXCatalog()
          Create and add a XCatalog metadata object.
 void addXCatalog(XCatalog xCatalog)
          Add a XCatalog metadata object.
 void deleteXCatalog(XCatalog xCatalog)
          Delete a XCatalog metadata object.
 ParserType getName()
          Get the parser to use.
 java.lang.Boolean getValidate()
          Get the document validation flag.
 boolean getWarnings()
          Get the parser warning flag.
 XCatalog[] getXCatalog()
          Get the xcatalog metadata.
 java.lang.String[] getXCatalogURLs()
          Get the list of XCatalog file URLs.
 void setName(ParserType value)
          Set the parser to use.
 void setValidate(boolean validate)
          Set the document validation flag.
 void setValidate(java.lang.Boolean validate)
          Set the document validation flag.
 void setWarnings(boolean warnings)
          Set the document validation flag.
 
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, 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, getTagName, hasAttribute, hasAttributeNS, hasAttributes, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setReadOnly, setupDefaultAttributes, synchronizeData
 
Methods inherited from class org.enhydra.apache.xerces.dom.ParentNode
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, hasChildNodes, insertBefore, item, removeChild, replaceChild, synchronizeChildren
 
Methods inherited from class org.enhydra.apache.xerces.dom.ChildNode
getNextSibling, getParentNode, getPreviousSibling
 
Methods inherited from class org.enhydra.apache.xerces.dom.NodeImpl
addEventListener, appendChild, changed, changes, dispatchEvent, getLocalName, getNamespaceURI, getNodeValue, getPrefix, getReadOnly, getUserData, isSupported, removeEventListener, setNodeValue, setPrefix, 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, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasChildNodes, insertBefore, isSupported, removeChild, replaceChild, setNodeValue, setPrefix
 

Field Detail

TAG_NAME

public static final java.lang.String TAG_NAME
Element name.

See Also:
Constant Field Values
Constructor Detail

Parser

public Parser(org.w3c.dom.Document ownerDoc)
Constructor.

Method Detail

getXCatalog

public XCatalog[] getXCatalog()
Get the xcatalog metadata.


addXCatalog

public void addXCatalog(XCatalog xCatalog)
Add a XCatalog metadata object.


addXCatalog

public XCatalog addXCatalog()
Create and add a XCatalog metadata object.


deleteXCatalog

public void deleteXCatalog(XCatalog xCatalog)
Delete a XCatalog metadata object.


getXCatalogURLs

public java.lang.String[] getXCatalogURLs()
Get the list of XCatalog file URLs.


getName

public ParserType getName()
Get the parser to use.


setName

public void setName(ParserType value)
Set the parser to use.


getValidate

public java.lang.Boolean getValidate()
Get the document validation flag. Returns null if not specified.


setValidate

public void setValidate(java.lang.Boolean validate)
Set the document validation flag. Use a null value to make attribute unspecified.


setValidate

public void setValidate(boolean validate)
Set the document validation flag.


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.



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