Reference to the DataHandlerReader extension of the parser, or null if the parser doesn't support this extension.
Tracks the depth of the node identified by target.
Stores exceptions thrown by the parser.
This method is called with the XMLStreamConstants.START_ELEMENT event.
This method will check whether the text can be optimizable using IS_BINARY flag.
Detach this builder from its underlying source, so that the state of the source object can be changed without impact on the object model produced by this builder.
Returns the type of the builder.
Get the document being built by this builder.
Get the underlying XMLStreamReader used by this builder.
Forwards the parser one step further, if parser is not completed yet.
Register a CustomBuilder associated with the indicated QName.
Register a CustomBuilder for a payload.
As of Axiom 1.2.15, the builder always releases the parser.
Tracks the depth of the node identified by target. By definition, the level of the root element is defined as 1. Note that if caching is disabled, then this depth may be different from the actual depth reached by the underlying parser.
Stores exceptions thrown by the parser. Used to avoid accessing the parser again after is has thrown a parse exception.
This method will check whether the text can be optimizable using IS_BINARY flag. If that is set then we try to get the data handler.
Get the underlying XMLStreamReader used by this builder. Note that for this type of builder, accessing the underlying parser implies that can no longer be used, and any attempt to call next() will result in an exception.
The caller should use XOPUtils.getXOPEncodedStream(XMLStreamReader) to get an XOP encoded stream from the return value.
To get access to the bare StAX parser implementation, the caller should use XMLStreamReaderUtils.getOriginalXMLStreamReader(XMLStreamReader).
Forwards the parser one step further, if parser is not completed yet. If this is called after parser is done, then throw an OMException. If the cache is set to false, then returns the event, *without* building the OM tree. If the cache is set to true, then handles all the events within this, and builds the object structure appropriately and returns the event.
Register a CustomBuilder associated with the indicated QName. The CustomBuilder will be used when an element of that qname is encountered.
Register a CustomBuilder for a payload. The payload is defined as the elements inside a SOAPBody or the document element of a REST message.
Returns the type of the builder. Can be either OMConstants.PUSH_TYPE_BUILDER or OMConstants.PULL_TYPE_BUILDER.
Close this builder. This method frees the resources associated with this builder. In particular, it releases the resources held by the underlying parser. This method does not close the underlying input source.
the character encoding, defaults to "UTF-8"
Deprecated. As of Axiom 1.2.15, the builder always releases the parser.
InputStream, Reader, StreamSource with InputStream or Reader The remaining unprocessed content of the stream is read into memory so that it can be safely closed. Note that this method doesn't close the stream; this is the responsibility of the caller.
StreamSource with system ID and no stream The remaining unprocessed content of the document is read into memory and the associated stream is closed.
Node, DOMSource, SAXSource The object model is built completely.
Attachments All MIME parts are fetched so that the stream from which the Attachments object has been created can safely be closed.