|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.event.StreamWriterToReceiver
net.sf.saxon.s9api.BuildingStreamWriterImpl
public class BuildingStreamWriterImpl
This class is an implementation of XMLStreamWriter
, allowing
a document to be constructed by means of a series of XMLStreamWriter method calls such
as writeStartElement(), writeAttribute(), writeCharacters(), and writeEndElement().
The detailed way in which this class is packaged is carefully designed to ensure that
if the functionality is not used, the DocumentBuilder
is still usable under
JDK 1.5 (which does not include javax.xml.stream interfaces).
Field Summary | |
---|---|
(package private) Builder |
builder
|
Constructor Summary | |
---|---|
BuildingStreamWriterImpl(Receiver receiver,
Builder builder)
|
Method Summary | |
---|---|
XdmNode |
getDocumentNode()
After building the document by writing a sequence of events, retrieve the root node of the constructed document tree |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.saxon.s9api.BuildingStreamWriter |
---|
isCheckValues, isInventPrefixes, setCheckValues, setInventPrefixes |
Methods inherited from interface javax.xml.stream.XMLStreamWriter |
---|
close, flush, getNamespaceContext, getPrefix, getProperty, setDefaultNamespace, setNamespaceContext, setPrefix, writeAttribute, writeAttribute, writeAttribute, writeCData, writeCharacters, writeCharacters, writeComment, writeDefaultNamespace, writeDTD, writeEmptyElement, writeEmptyElement, writeEmptyElement, writeEndDocument, writeEndElement, writeEntityRef, writeNamespace, writeProcessingInstruction, writeProcessingInstruction, writeStartDocument, writeStartDocument, writeStartDocument, writeStartElement, writeStartElement, writeStartElement |
Field Detail |
---|
Builder builder
Constructor Detail |
---|
public BuildingStreamWriterImpl(Receiver receiver, Builder builder)
Method Detail |
---|
public XdmNode getDocumentNode() throws SaxonApiException
BuildingStreamWriter
getDocumentNode
in interface BuildingStreamWriter
XMLStreamWriter.writeEndDocument()
) that constructs the tree.
SaxonApiException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |