public interface BuildingContentHandler
extends org.xml.sax.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
|
XdmNode getDocumentNode() throws SaxonApiException
ContentHandler.endDocument()
) that constructs the tree.SaxonApiException
- if any failure occursCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.