|
||||||||||
| 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 |
| 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 |
| 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)
|
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. |
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.om.impl.dom.ParentNode |
|---|
buildNext, getChildNodes, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getFirstChild, getFirstChildWithName, getFirstOMChild, getFirstOMChildIfAvailable, getLastChild, getTextContent, 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.OMSerializable |
|---|
build, close, getOMFactory, isComplete, serialize, serialize, serializeAndConsume |
| Methods inherited from interface org.apache.axiom.om.OMContainer |
|---|
buildNext, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getFirstChildWithName, getFirstOMChild |
| 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 SOAPEnvelopeSOAPHeader object or null if there is none
OMException - if there is a problem obtaining the SOAPHeader object
OMExceptionpublic void addChild(OMNode child)
addChild in interface OMContaineraddChild 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
public OMNode detach()
throws OMException
detach in interface OMNodedetach in class ChildNodeOMException
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.XMLStreamException
public OMNode getNextOMSibling()
throws OMException
NodeImpl
getNextOMSibling in interface OMNodegetNextOMSibling in class ElementImplOMExceptionpublic boolean hasFault()
hasFault in interface SOAPEnvelopepublic java.lang.String getSOAPBodyFirstElementLocalName()
getSOAPBodyFirstElementLocalName in interface SOAPEnvelopepublic OMNamespace getSOAPBodyFirstElementNS()
getSOAPBodyFirstElementNS in interface SOAPEnvelope
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||