de.pannenleiter.util
Class DOMDriver

java.lang.Object
  |
  +--de.pannenleiter.util.DOMDriver

public class DOMDriver
extends java.lang.Object
implements org.xml.sax.Locator


Constructor Summary
DOMDriver()
           
 
Method Summary
 int getColumnNumber()
           
 int getLineNumber()
           
 java.lang.String getPublicId()
           
 java.lang.String getSystemId()
           
 void setDocumentHandler(org.xml.sax.DocumentHandler handler)
          Set the document handler.
 void walk(org.w3c.dom.Node doc)
          Walk a document (traversing the nodes depth first)
 void walkWithoutSD(org.w3c.dom.Node doc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMDriver

public DOMDriver()
Method Detail

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