|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.axis2.om.impl.dom.NodeImpl
org.apache.axis2.om.impl.dom.ChildNode
org.apache.axis2.om.impl.dom.ParentNode
org.apache.axis2.om.impl.dom.ElementImpl
org.apache.axis2.soap.impl.dom.SOAPElement
org.apache.axis2.soap.impl.dom.SOAPEnvelopeImpl
| Field Summary |
| Fields inherited from class org.apache.axis2.om.impl.dom.ElementImpl |
localName, namespace |
| Fields inherited from class org.apache.axis2.om.impl.dom.ParentNode |
firstChild, lastChild |
| Fields inherited from class org.apache.axis2.om.impl.dom.ChildNode |
nextSibling, parentNode, previousSubling |
| Fields inherited from class org.apache.axis2.om.impl.dom.NodeImpl |
builder, done, FIRSTCHILD, flags, nodeType, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED |
| Fields inherited from interface org.apache.axis2.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.apache.axis2.om.OMConstants |
ARRAY_ITEM_LOCALNAME, ARRAY_ITEM_NS_PREFIX, ARRAY_ITEM_NSURI, ARRAY_ITEM_QNAME, DEFAULT_CHAR_SET_ENCODING, DEFAULT_XML_VERSION, PULL_TYPE_BUILDER, PUSH_TYPE_BUILDER, XMLNS_NS_PREFIX, XMLNS_NS_URI, XMLNS_PREFIX, XMLNS_URI |
| Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, 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)
This will add the given node as the last child. |
SOAPHeaderBlock |
addHeader(java.lang.String namespaceURI,
java.lang.String name)
Convenience method to add a SOAP header to this envelope |
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. |
protected void |
serialize(OMOutputImpl omOutput,
boolean cache)
|
| Methods inherited from class org.apache.axis2.om.impl.dom.ParentNode |
buildNext, getChildNodes, getChildren, getChildrenWithName, getFirstChild, getFirstChildWithName, getFirstOMChild, getLastChild, hasChildNodes, insertBefore, removeChild, replaceChild, setFirstChild |
| Methods inherited from class org.apache.axis2.om.impl.dom.ChildNode |
discard, getNextOMSibling, getNextSibling, getParent, getParentNode, getPreviousOMSibling, getPreviousSibling, insertSiblingAfter, insertSiblingBefore, setNextOMSibling, setParent, setPreviousOMSibling |
| Methods inherited from class org.apache.axis2.om.impl.dom.NodeImpl |
appendChild, build, cloneNode, compareDocumentPosition, getBaseURI, getFeature, getLength, getNodeValue, getOwnerDocument, getTextContent, getUserData, isComplete, isDefaultNamespace, isEqualNode, isSameNode, isSupported, item, lookupNamespaceURI, lookupPrefix, normalize, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeWithCache, setComplete, setNodeValue, setPrefix, setTextContent, setUserData |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.axis2.om.OMElement |
addAttribute, addAttribute, cloneOMElement, declareNamespace, declareNamespace, findNamespace, findNamespaceURI, getAllAttributes, getAllDeclaredNamespaces, getAttribute, getAttributeValue, getBuilder, getChildElements, getFirstAttribute, getFirstElement, getLocalName, getNamespace, getQName, getText, getXMLStreamReader, getXMLStreamReaderWithoutCaching, removeAttribute, resolveQName, setBuilder, setFirstChild, setLocalName, setNamespace, setText, toString, toStringWithConsume |
| Methods inherited from interface org.apache.axis2.om.OMNode |
build, discard, getNextOMSibling, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBefore, isComplete, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume |
| Methods inherited from interface org.apache.axis2.om.OMContainer |
buildNext, getChildren, getChildrenWithName, getFirstChildWithName, getFirstOMChild, isComplete |
| Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
| Methods inherited from interface org.apache.axis2.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 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 SOAPHeaderBlock addHeader(java.lang.String namespaceURI,
java.lang.String name)
throws OMException
addHeader in interface SOAPEnvelopenamespaceURI - name -
OMExceptionpublic void addChild(OMNode child)
OMContainer
addChild in interface OMContaineraddChild in class ParentNode
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
protected void serialize(OMOutputImpl omOutput,
boolean cache)
throws javax.xml.stream.XMLStreamException
serialize in class ElementImpljavax.xml.stream.XMLStreamException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||