public class StAXSOAPModelBuilder extends StAXOMBuilder implements SOAPModelBuilder
_isClosed, cache, charEncoding, customBuilderForPayload, customBuilders, dataHandlerReader, document, done, elementLevel, maxDepthForCustomBuilders, omfactory, parser, parserAccessed, parserException, target
Modifier and Type | Method and Description |
---|---|
protected OMElement |
constructNode(OMContainer parent,
String elementName)
Instantiate the appropriate
OMElement implementation for the current element. |
protected OMDocument |
createDocument() |
protected OMNode |
createDTD()
Method createDTD.
|
protected OMNode |
createEntityReference() |
protected OMNode |
createNextOMElement()
Creates a new OMElement using either a CustomBuilder or
the default Builder mechanism.
|
protected OMNode |
createPI()
Method createPI.
|
OMNamespace |
getEnvelopeNamespace() |
SOAPEnvelope |
getSOAPEnvelope()
Get the SOAP envelope for the document processed by this builder.
|
SOAPFactory |
getSOAPFactory() |
SOAPMessage |
getSoapMessage()
Deprecated.
Use
SOAPModelBuilder.getSOAPMessage() instead. |
SOAPMessage |
getSOAPMessage()
Get the SOAP message being built by this builder.
|
protected void |
identifySOAPVersion(String soapVersionURIFromTransport) |
createComment, createOMElement, createPrefix, createWithCustomBuilder, getDocumentElement, getDocumentElement, isLookahead, isNamespaceURIInterning, logParserState, lookahead, next, processNamespaceData, setDoDebug, setNamespaceURIInterning
close, createDocumentIfNecessary, createOMText, debugDiscarded, detach, disableCaching, discard, discard, getAttributeCount, getAttributeName, getAttributeNamespace, getAttributePrefix, getBuilderType, getCharacterEncoding, getCharsetEncoding, getCustomBuilder, getDocument, getName, getNamespace, getNamespaceCount, getNamespacePrefix, getNamespaceUri, getParser, getPrefix, getReaderProperty, getRegisteredContentHandler, getText, init, isCache, isClosed, isCompleted, processAttributes, reenableCaching, registerCustomBuilder, registerCustomBuilderForPayload, registerExternalContentHandler, releaseParserOnClose, setAutoClose, setCache, setOMBuilderFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, detach, discard, getBuilderType, getCharacterEncoding, getDocument, getDocumentElement, getDocumentElement, getParser, getRegisteredContentHandler, isCache, isCompleted, next, registerExternalContentHandler, setCache
public StAXSOAPModelBuilder(javax.xml.stream.XMLStreamReader parser, String soapVersion)
OMXMLBuilderFactory
API.public StAXSOAPModelBuilder(OMMetaFactory metaFactory, javax.xml.stream.XMLStreamReader parser, String soapVersion)
OMXMLBuilderFactory
API.public StAXSOAPModelBuilder(javax.xml.stream.XMLStreamReader parser)
OMXMLBuilderFactory
API.public StAXSOAPModelBuilder(OMMetaFactory metaFactory, javax.xml.stream.XMLStreamReader parser, Detachable detachable, Closeable closeable)
public StAXSOAPModelBuilder(OMMetaFactory metaFactory, javax.xml.stream.XMLStreamReader parser)
OMXMLBuilderFactory
API.public StAXSOAPModelBuilder(javax.xml.stream.XMLStreamReader parser, SOAPFactory factory, String soapVersion, Detachable detachable, Closeable closeable)
public StAXSOAPModelBuilder(javax.xml.stream.XMLStreamReader parser, SOAPFactory factory, String soapVersion)
OMXMLBuilderFactory
API.protected void identifySOAPVersion(String soapVersionURIFromTransport)
soapVersionURIFromTransport
- public SOAPEnvelope getSOAPEnvelope() throws OMException
SOAPModelBuilder
OMXMLParserWrapper.getDocumentElement()
but a different return type.getSOAPEnvelope
in interface SOAPModelBuilder
OMException
protected OMNode createNextOMElement()
StAXOMBuilder
createNextOMElement
in class StAXOMBuilder
protected OMElement constructNode(OMContainer parent, String elementName)
StAXOMBuilder
OMElement
implementation for the current element. This
method may be overridden by subclasses to support model specific OMElement
types. The
implementation of this method is expected to initialize the OMElement
with the
specified local name and to add it to the specified parent. However, the implementation
should not set the namespace of the element or process the attributes of the element. This is
taken care of by the caller of this method.constructNode
in class StAXOMBuilder
parent
- the parent for the elementelementName
- the local name for the elementOMElement
; must not be null
protected OMDocument createDocument()
createDocument
in class StAXOMBuilder
protected OMNode createDTD() throws OMException
createDTD
in class StAXOMBuilder
OMException
protected OMNode createPI() throws OMException
createPI
in class StAXOMBuilder
OMException
protected OMNode createEntityReference()
createEntityReference
in class StAXOMBuilder
public OMNamespace getEnvelopeNamespace()
public SOAPMessage getSoapMessage()
SOAPModelBuilder.getSOAPMessage()
instead.public SOAPMessage getSOAPMessage()
SOAPModelBuilder
OMXMLParserWrapper.getDocument()
but a different return type.getSOAPMessage
in interface SOAPModelBuilder
public SOAPFactory getSOAPFactory()
Copyright © The Apache Software Foundation. All Rights Reserved.