|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.icl.saxon.DOMDriver
|
+--com.icl.saxon.TreeDriver
TreeDriver.java: (pseudo-)SAX driver for Saxon trees.
Subclasses DOMDriver for the case where the tree is a Saxon tree (a DocumentInfo)
This class simulates the action of a SAX Parser, taking an already-constructed
DOM Document and walking around it in a depth-first traversal,
calling a SAX-compliant ContentHandler to process the children as it does so.
| Fields inherited from class com.icl.saxon.DOMDriver |
contentHandler, root, systemId |
| Constructor Summary | |
TreeDriver()
|
|
| Method Summary | |
void |
parse()
Walk a document (traversing the nodes depth first) |
void |
setDocument(org.w3c.dom.Document doc)
Set the DOM Document that will be walked |
| Methods inherited from class com.icl.saxon.DOMDriver |
getColumnNumber, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getLineNumber, getProperty, getPublicId, getSystemId, parse, parse, setContentHandler, setDocumentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setLocale, setProperty, setSystemId |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TreeDriver()
| Method Detail |
public void setDocument(org.w3c.dom.Document doc)
setDocument in class DOMDriver
public void parse()
throws org.xml.sax.SAXException
parse in class DOMDriverdoc - The (DOM) Document object to walk.org.xml.sax.SAXException - On any error in the document
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||