|
XML for Java EA2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.xml.framework.XMLDocumentScanner | +--com.ibm.xml.framework.XMLParser | +--com.ibm.xml.parsers.DOMParser | +--com.ibm.xml.parsers.RevalidatingDOMParser
This class is a validating DOM parser which can also "revalidate" a DOM subtree after the document has been parsed.
DOMParser
Fields inherited from class com.ibm.xml.parsers.DOMParser |
DEFAULT_DOCUMENT_CLASS_NAME,
fAmpIndex,
fAposIndex,
fCurrentElementNode,
fCurrentNodeIndex,
fDeferredDocumentImpl,
fDocument,
fDocumentImpl,
fDocumentIndex,
fDocumentType,
fDocumentTypeIndex,
fGtIndex,
fInCDATA,
fLtIndex,
fQuotIndex,
fWithinElement |
Fields inherited from class com.ibm.xml.framework.XMLParser |
fNamespacesEnabled,
fNamespaceSep,
fParseInProgress,
fValidator,
SAX2_FEATURES_PREFIX,
SAX2_HANDLERS_PREFIX,
SAX2_PROPERTIES_PREFIX,
XML4J_FEATURES_PREFIX,
XML4J_PROPERTIES_PREFIX |
Constructor Summary | |
RevalidatingDOMParser()
|
Method Summary | |
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.framework.XMLDocumentScanner |
abortMarkup,
abortMarkup,
abortMarkup,
abortMarkup,
checkXMLLangAttributeValue,
decreaseMarkupDepth,
endOfInput,
getScannerState,
increaseMarkupDepth,
markupDepth,
parseSome,
readerChange,
reportFatalXMLError,
reportFatalXMLError,
reportFatalXMLError,
reportFatalXMLError,
reportFatalXMLError,
reportFatalXMLError,
scanComplexAttValue,
setEntityHandler,
setErrorReporter,
skipPastEndOfCurrentMarkup |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public RevalidatingDOMParser()
Method Detail |
public final Node validate(Node node)
node
- The node representing the root of the DOM subtree to be
revalidated.
|
XML for Java EA2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |