|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axiom.om.impl.dom.NodeImpl
org.apache.axiom.om.impl.dom.ChildNode
org.apache.axiom.om.impl.dom.ParentNode
org.apache.axiom.om.impl.dom.ElementImpl
org.apache.axiom.soap.impl.dom.SOAPElement
org.apache.axiom.soap.impl.dom.SOAPEnvelopeImpl
public class SOAPEnvelopeImpl
Field Summary |
---|
Fields inherited from class org.apache.axiom.om.impl.dom.ElementImpl |
---|
localName, namespace |
Fields inherited from class org.apache.axiom.om.impl.dom.ParentNode |
---|
firstChild, lastChild |
Fields inherited from class org.apache.axiom.om.impl.dom.ChildNode |
---|
nextSibling, parentNode, previousSibling |
Fields inherited from class org.apache.axiom.om.impl.dom.NodeImpl |
---|
builder, done, factory, FIRSTCHILD, flags, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED |
Fields inherited from interface org.apache.axiom.om.OMNode |
---|
CDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODE |
Constructor Summary | |
---|---|
SOAPEnvelopeImpl(DocumentImpl doc,
OMXMLParserWrapper builder,
SOAPFactory factory)
|
|
SOAPEnvelopeImpl(OMNamespace ns,
SOAPFactory factory)
|
|
SOAPEnvelopeImpl(OMXMLParserWrapper builder,
SOAPFactory factory)
|
Method Summary | |
---|---|
void |
addChild(OMNode child)
Adds the given node as the last child. |
protected void |
checkParent(OMElement parent)
This has to be implemented by all the derived classes to check for the correct parent. |
OMNode |
detach()
Method detach |
SOAPBody |
getBody()
Returns the SOAPBody object associated with this SOAPEnvelope
object. |
SOAPHeader |
getHeader()
Returns the SOAPHeader object for this SOAPEnvelope object. |
OMNode |
getNextOMSibling()
Default behavior returns null, overriden in ChildNode. |
String |
getSOAPBodyFirstElementLocalName()
Retrieves the local name of the first element in the body. |
OMNamespace |
getSOAPBodyFirstElementNS()
Retrieves the OMNamespace of the first element in the body. |
SOAPVersion |
getVersion()
|
boolean |
hasFault()
Returns true if there is a SOAPFault in the body. |
Node |
insertBefore(Node newChild,
Node refChild)
Inserts newChild before the refChild. |
void |
internalSerialize(XMLStreamWriter writer2,
boolean cache)
Serializes the node. |
Methods inherited from class org.apache.axiom.om.impl.dom.ParentNode |
---|
buildNext, getBuilder, getChildNodes, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getFirstChild, getFirstChildWithName, getFirstOMChild, getFirstOMChildIfAvailable, getLastChild, getTextContent, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching, hasChildNodes, importNode, removeChild, replaceChild, setFirstChild, setLastChild, setTextContent |
Methods inherited from class org.apache.axiom.om.impl.dom.ChildNode |
---|
getNextOMSiblingIfAvailable, getNextSibling, getParent, getParentNode, getPreviousOMSibling, getPreviousSibling, insertSiblingAfter, insertSiblingBefore, setNextOMSibling, setParent, setPreviousOMSibling |
Methods inherited from class org.apache.axiom.om.impl.dom.NodeImpl |
---|
appendChild, build, close, compareDocumentPosition, getBaseURI, getFeature, getLength, getNodeValue, getOMFactory, getOwnerDocument, getUserData, internalSerialize, internalSerializeAndConsume, isComplete, isDefaultNamespace, isEqualNode, isSameNode, isSupported, item, lookupNamespaceURI, lookupPrefix, normalize, serialize, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setComplete, setNodeValue, setPrefix, setUserData |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.axiom.om.OMNode |
---|
buildWithAttachments, discard, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBefore |
Methods inherited from interface org.apache.axiom.om.OMContainer |
---|
buildNext, getBuilder, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getFirstChildWithName, getFirstOMChild, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching |
Methods inherited from interface org.apache.axiom.om.OMSerializable |
---|
build, close, getOMFactory, isComplete, serialize, serialize, serializeAndConsume |
Methods inherited from interface org.w3c.dom.Node |
---|
appendChild, compareDocumentPosition, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasChildNodes, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
Methods inherited from interface org.apache.axiom.om.impl.OMContainerEx |
---|
setComplete |
Constructor Detail |
---|
public SOAPEnvelopeImpl(OMXMLParserWrapper builder, SOAPFactory factory)
builder
- public SOAPEnvelopeImpl(DocumentImpl doc, OMXMLParserWrapper builder, SOAPFactory factory)
public SOAPEnvelopeImpl(OMNamespace ns, SOAPFactory factory)
ns
- Method Detail |
---|
public SOAPVersion getVersion()
getVersion
in interface SOAPEnvelope
public SOAPHeader getHeader() throws OMException
SOAPHeader
object for this SOAPEnvelope
object.
This SOAPHeader will just be a container for all the headers in the OMMessage
getHeader
in interface SOAPEnvelope
SOAPHeader
object or null
if there is none
OMException
- if there is a problem obtaining the SOAPHeader
object
OMException
public void addChild(OMNode child)
OMContainer
addChild
in interface OMContainer
addChild
in class ParentNode
public Node insertBefore(Node newChild, Node refChild) throws DOMException
ParentNode
insertBefore
in interface Node
insertBefore
in class ParentNode
DOMException
public SOAPBody getBody() throws OMException
SOAPBody
object associated with this SOAPEnvelope
object.
This SOAPBody will just be a container for all the BodyElements in the OMMessage
getBody
in interface SOAPEnvelope
SOAPBody
object for this SOAPEnvelope
object or
null
if there is none
OMException
- if there is a problem obtaining the SOAPBody
object
OMException
public OMNode detach() throws OMException
detach
in interface OMNode
detach
in class ChildNode
OMException
protected void checkParent(OMElement parent) throws SOAPProcessingException
SOAPElement
checkParent
in class SOAPElement
SOAPProcessingException
public void internalSerialize(XMLStreamWriter writer2, boolean cache) throws XMLStreamException
OMNodeEx
OMSerializable.serialize(XMLStreamWriter, boolean)
instead.
internalSerialize
in interface OMNodeEx
internalSerialize
in class ElementImpl
cache
- indicates if caching should be enabled
XMLStreamException
public OMNode getNextOMSibling() throws OMException
NodeImpl
getNextOMSibling
in interface OMNode
getNextOMSibling
in class ElementImpl
OMException
public boolean hasFault()
SOAPEnvelope
hasFault
in interface SOAPEnvelope
public String getSOAPBodyFirstElementLocalName()
SOAPEnvelope
getSOAPBodyFirstElementLocalName
in interface SOAPEnvelope
public OMNamespace getSOAPBodyFirstElementNS()
SOAPEnvelope
getSOAPBodyFirstElementNS
in interface SOAPEnvelope
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |