|
XML for Java 2.0.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.xml.framework.XMLParser | +--com.ibm.xml.parsers.NonValidatingTXDOMParser | +--com.ibm.xml.parsers.TXDOMParser | +--com.ibm.xml.parsers.TXRevalidatingDOMParser
This class is a validating DOM parser which can also "revalidate" a DOM subtree after the document has been parsed.
TXDOMParser
Fields inherited from class com.ibm.xml.parsers.NonValidatingTXDOMParser |
DEBUG,
fCurrentNode,
fCurrentParent,
fDocument,
fDocumentClass,
fDocumentType,
fEntityPool,
fExpandEntityReferences,
fNodeStack,
fNormalizeTextNodes,
fRootElementName,
fWithinElement |
Fields inherited from class com.ibm.xml.framework.XMLParser |
fLocale,
fNeedReset,
fParseInProgress,
fResourceBundle,
fScanner |
Constructor Summary | |
TXRevalidatingDOMParser()
|
Method Summary | |
Node |
getErrorElement()
Returns the element of the last error. |
Node |
validate(Node node)
Given a node which is a DOM tree (or subtree), validate the tree against the current DTD. |
Methods inherited from class com.ibm.xml.parsers.TXDOMParser |
reset,
resetOrCopy |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public TXRevalidatingDOMParser()
Method Detail |
public Node getErrorElement()
public Node validate(Node node)
If the node returned from this method is of type Node.ATTRIBUTE_NODE,
the attribute's element can be queried by calling the
getErrorElement()
method.
node
- The node representing the root of the DOM subtree to be
revalidated.
|
XML for Java 2.0.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |