Converts a stream of SAX events into a DOM node.
characters
public void characters(char[] ch,
int start,
int length)
throws SAXException
endDocument
public void endDocument()
throws SAXException
org.xml.sax.ContentHandler.endDocument()
endElement
public void endElement(String namespaceURI,
String localName,
String qName)
throws SAXException
endPrefixMapping
public void endPrefixMapping(String prefix)
throws SAXException
getDocument
public Document getDocument()
Returns the document being used as object factory. In the case
of the empty constructor, this is a new document. Otherwise it is
the target nodes owner document.
getDocumentLocator
public Locator getDocumentLocator()
Returns the Locator.
getResult
public Element getResult()
Returns the result element. In the case of the default constructor,
this is the document element. Otherwise it is added to the target node
via org.w3c.dom.Node.appendChild(org.w3c.dom.Node)
.<(p>
ignorableWhitespace
public void ignorableWhitespace(char[] ch,
int start,
int length)
throws SAXException
processingInstruction
public void processingInstruction(String pTarget,
String pData)
throws SAXException
setDocumentLocator
public void setDocumentLocator(Locator pLocator)
Sets the Locator.
skippedEntity
public void skippedEntity(String pName)
throws SAXException
startDocument
public void startDocument()
throws SAXException
org.xml.sax.ContentHandler.startDocument()
startElement
public void startElement(String pNamespaceURI,
String pLocalName,
String pQName,
Attributes pAttr)
throws SAXException
startPrefixMapping
public void startPrefixMapping(String prefix,
String uri)
throws SAXException