de.pannenleiter.util
Class DOMDriver
java.lang.Object
|
+--de.pannenleiter.util.DOMDriver
- public class DOMDriver
- extends java.lang.Object
- implements org.xml.sax.Locator
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
DOMDriver
public DOMDriver()
setDocumentHandler
public void setDocumentHandler(org.xml.sax.DocumentHandler handler)
- Set the document handler.
- Parameters:
handler - The object to receive document events.
walk
public void walk(org.w3c.dom.Node doc)
throws org.xml.sax.SAXException
- Walk a document (traversing the nodes depth first)
- Parameters:
doc - The (DOM) Document object to walk.- Throws:
- org.xml.sax.SAXException - On any error in the document
walkWithoutSD
public void walkWithoutSD(org.w3c.dom.Node doc)
throws org.xml.sax.SAXException
getPublicId
public java.lang.String getPublicId()
- Specified by:
- getPublicId in interface org.xml.sax.Locator
getSystemId
public java.lang.String getSystemId()
- Specified by:
- getSystemId in interface org.xml.sax.Locator
getLineNumber
public int getLineNumber()
- Specified by:
- getLineNumber in interface org.xml.sax.Locator
getColumnNumber
public int getColumnNumber()
- Specified by:
- getColumnNumber in interface org.xml.sax.Locator