public interface BuildingContentHandler extends ContentHandler
ContentHandler
that builds a Saxon tree, and allows the node at the root of the tree
to be retrieved on completion.
To create a BuildingContentHandler
for a particular tree model, use the method
DocumentBuilder.newBuildingContentHandler()
.
Modifier and Type | Method and Description |
---|---|
XdmNode |
getDocumentNode()
After building the document by writing a sequence of events, retrieve the root node
of the constructed document tree
|
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
XdmNode getDocumentNode() throws SaxonApiException
ContentHandler.endDocument()
) that constructs the tree.SaxonApiException
- if any failure occursCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.