|
||||||||||
| 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.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 |
|---|
builder, localName, namespace, state |
| Fields inherited from class org.apache.axiom.om.impl.dom.ParentNode |
|---|
firstChild, lastChild |
| Fields inherited from class org.apache.axiom.om.impl.dom.NodeImpl |
|---|
factory, FIRSTCHILD, flags, HAS_PARENT, 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 |
| Fields inherited from interface org.w3c.dom.Node |
|---|
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
| Fields inherited from interface org.apache.axiom.om.impl.common.IParentNode |
|---|
COMPLETE, DISCARDED, INCOMPLETE |
| Constructor Summary | |
|---|---|
SOAPEnvelopeImpl(ParentNode parentNode,
OMNamespace ns,
OMXMLParserWrapper builder,
OMFactory factory,
boolean generateNSDecl)
|
|
| Method Summary | |
|---|---|
void |
addChild(OMNode child,
boolean fromBuilder)
|
protected void |
checkParent(OMElement parent)
This has to be implemented by all the derived classes to check for the correct parent. |
protected OMElement |
createClone(OMCloneOptions options,
ParentNode targetParent,
boolean generateNSDecl)
|
SOAPBody |
getBody()
Returns the SOAPBody object associated with this SOAPEnvelope
object. |
SOAPHeader |
getHeader()
Returns the SOAPHeader object for this SOAPEnvelope object. |
java.lang.String |
getSOAPBodyFirstElementLocalName()
|
OMNamespace |
getSOAPBodyFirstElementNS()
|
SOAPVersion |
getVersion()
|
boolean |
hasFault()
|
org.w3c.dom.Node |
insertBefore(org.w3c.dom.Node newChild,
org.w3c.dom.Node refChild)
Inserts newChild before the refChild. |
void |
internalSerialize(javax.xml.stream.XMLStreamWriter writer2,
boolean cache)
|
| Methods inherited from class org.apache.axiom.soap.impl.dom.SOAPElement |
|---|
setParent |
| Methods inherited from class org.apache.axiom.om.impl.dom.ParentNode |
|---|
addChild, appendChild, getChildNodes, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getDescendants, getFirstChild, getFirstChildWithName, getFirstOMChild, getFirstOMChildIfAvailable, getLastChild, getLastKnownOMChild, getLength, getSAXSource, getTextContent, getXMLStreamReader, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching, hasChildNodes, item, removeChild, replaceChild, setFirstChild, setLastChild, setTextContent |
| 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, detach, discard, getNextOMSibling, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBefore |
| Methods inherited from interface org.apache.axiom.om.OMContainer |
|---|
addChild, getBuilder, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getDescendants, getFirstChildWithName, getFirstOMChild, getSAXSource, getXMLStreamReader, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching, removeChildren |
| Methods inherited from interface org.apache.axiom.om.OMSerializable |
|---|
build, close, isComplete, serialize, serialize, serializeAndConsume |
| Methods inherited from interface org.apache.axiom.om.OMInformationItem |
|---|
clone, getOMFactory |
| Methods inherited from interface org.apache.axiom.om.OMNamedInformationItem |
|---|
getLocalName, getNamespace, getNamespaceURI, getPrefix, getQName, setLocalName |
| Methods inherited from interface org.w3c.dom.Node |
|---|
appendChild, cloneNode, compareDocumentPosition, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasChildNodes, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setTextContent, setUserData |
| Methods inherited from interface org.apache.axiom.om.impl.common.IContainer |
|---|
getLastKnownOMChild, setFirstChild, setLastChild |
| Methods inherited from interface org.apache.axiom.om.impl.common.IParentNode |
|---|
getFirstOMChildIfAvailable |
| Methods inherited from interface org.apache.axiom.om.impl.OMNodeEx |
|---|
getNextOMSiblingIfAvailable, internalSerialize, internalSerializeAndConsume, setNextOMSibling, setParent, setPreviousOMSibling |
| Constructor Detail |
|---|
public SOAPEnvelopeImpl(ParentNode parentNode,
OMNamespace ns,
OMXMLParserWrapper builder,
OMFactory factory,
boolean generateNSDecl)
| 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 SOAPEnvelopeSOAPHeader object or null if there is none
OMException - if there is a problem obtaining the SOAPHeader object
OMException
public void addChild(OMNode child,
boolean fromBuilder)
addChild in interface OMContainerExaddChild in class ParentNode
public org.w3c.dom.Node insertBefore(org.w3c.dom.Node newChild,
org.w3c.dom.Node refChild)
throws org.w3c.dom.DOMException
ParentNode
insertBefore in interface org.w3c.dom.NodeinsertBefore in class ParentNodeorg.w3c.dom.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 SOAPEnvelopeSOAPBody object for this SOAPEnvelope object or
null if there is none
OMException - if there is a problem obtaining the SOAPBody object
OMException
protected void checkParent(OMElement parent)
throws SOAPProcessingException
SOAPElement
checkParent in class SOAPElementSOAPProcessingException
public void internalSerialize(javax.xml.stream.XMLStreamWriter writer2,
boolean cache)
throws javax.xml.stream.XMLStreamException
internalSerialize in interface OMNodeExinternalSerialize in class ElementImpljavax.xml.stream.XMLStreamExceptionpublic boolean hasFault()
hasFault in interface SOAPEnvelopepublic java.lang.String getSOAPBodyFirstElementLocalName()
getSOAPBodyFirstElementLocalName in interface SOAPEnvelopepublic OMNamespace getSOAPBodyFirstElementNS()
getSOAPBodyFirstElementNS in interface SOAPEnvelope
protected OMElement createClone(OMCloneOptions options,
ParentNode targetParent,
boolean generateNSDecl)
createClone in class ElementImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||