public abstract class SOAPBodyImpl extends SOAPElement implements org.apache.axiom.soap.SOAPBody, org.apache.axiom.om.OMConstants
attributes, namespacesCDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODEARRAY_ITEM_LOCALNAME, ARRAY_ITEM_NS_PREFIX, ARRAY_ITEM_NSURI, ARRAY_ITEM_QNAME, DATA_HANDLER, DEFAULT_CHAR_SET_ENCODING, DEFAULT_DEFAULT_NAMESPACE, DEFAULT_XML_VERSION, IS_BINARY, IS_DATA_HANDLERS_AWARE, PULL_TYPE_BUILDER, PUSH_TYPE_BUILDER, XMLATTRTYPE_CDATA, XMLATTRTYPE_ENTITIES, XMLATTRTYPE_ENTITY, XMLATTRTYPE_ID, XMLATTRTYPE_IDREF, XMLATTRTYPE_IDREFS, XMLATTRTYPE_NMTOKEN, XMLATTRTYPE_NMTOKENS, XMLATTRTYPE_NOTATION, XMLNS_NS_PREFIX, XMLNS_NS_URI, XMLNS_PREFIX, XMLNS_URI| Modifier | Constructor and Description |
|---|---|
|
SOAPBodyImpl(org.apache.axiom.soap.SOAPEnvelope envelope,
org.apache.axiom.om.OMXMLParserWrapper builder,
org.apache.axiom.soap.SOAPFactory factory)
Constructor SOAPBodyImpl
|
|
SOAPBodyImpl(org.apache.axiom.soap.SOAPEnvelope envelope,
org.apache.axiom.soap.SOAPFactory factory) |
protected |
SOAPBodyImpl(String localName,
org.apache.axiom.om.OMNamespace ns,
org.apache.axiom.soap.SOAPFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(org.apache.axiom.om.OMNode child,
boolean fromBuilder) |
abstract org.apache.axiom.soap.SOAPFault |
addFault(Exception e)
Creates a new
SOAPFault object and adds it to this SOAPBody
object. |
void |
addFault(org.apache.axiom.soap.SOAPFault soapFault) |
protected void |
checkParent(org.apache.axiom.om.OMElement parent)
This has to be implemented by all the derived classes to check for the correct parent.
|
protected org.apache.axiom.om.OMElement |
createClone(org.apache.axiom.om.OMCloneOptions options,
org.apache.axiom.om.OMContainer targetParent) |
org.apache.axiom.om.OMNode |
detach() |
org.apache.axiom.soap.SOAPFault |
getFault()
Returns the
SOAPFault object in this SOAPBody object. |
String |
getFirstElementLocalName() |
org.apache.axiom.om.OMNamespace |
getFirstElementNS() |
boolean |
hasFault()
Indicates whether a
SOAPFault object exists in this SOAPBody
object. |
internalSetParentaddAttribute, addAttribute, addNamespaceDeclaration, addNamespaceDeclaration, build, buildWithAttachments, checkChild, cloneOMElement, declareDefaultNamespace, declareNamespace, declareNamespace, findNamespace, findNamespaceURI, getAllAttributes, getAllDeclaredNamespaces, getAttribute, getAttributeValue, getDefaultNamespace, getLineNumber, getNamespaceURI, internalSerialize, removeAttribute, setComplete, setLineNumber, setNamespace, toString, toStringWithConsume, undeclarePrefixclone, coreSetParentgetOMFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAttribute, addAttribute, cloneOMElement, declareDefaultNamespace, declareNamespace, declareNamespace, findNamespace, findNamespaceURI, getAllAttributes, getAllDeclaredNamespaces, getAttribute, getAttributeValue, getChildElements, getDefaultNamespace, getFirstElement, getLineNumber, getNamespaceContext, getNamespacesInScope, getText, getTextAsQName, getTextAsStream, removeAttribute, resolveQName, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setLineNumber, setNamespace, setNamespaceWithNoFindInCurrentScope, setText, setText, toString, toStringWithConsume, undeclarePrefix, writeTextTobuildWithAttachments, discard, getNextOMSibling, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBeforeaddChild, getBuilder, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getDescendants, getFirstChildWithName, getFirstOMChild, getSAXResult, getSAXSource, getXMLStreamReader, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching, removeChildrenbuild, close, isComplete, serialize, serialize, serializeAndConsumegetLocalName, getNamespace, getNamespaceURI, getPrefix, getQName, hasName, setLocalName, setNamespacedetachAndDiscardParent, discard, getChildElements, getFirstElement, getNamespaceContext, getNamespacesInScope, getText, getTextAsQName, getTextAsStream, getType, handleNamespace, insertChild, resolveQName, setNamespace, setNamespaceWithNoFindInCurrentScope, setText, setText, writeTextToaddChild, defaultBuild, discarded, getFirstChildWithName, getFirstOMChild, getFirstOMChildIfAvailable, getSAXResult, getSAXSource, getXMLStreamReader, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching, isComplete, prepareNewChild, removeChildren, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsumegetNextOMSibling, getNextOMSiblingIfAvailable, getParent, getPreviousOMSibling, insertSiblingAfter, insertSiblingBeforeclose, getBuilder, serialize, serialize, serializeAndConsumecoreGetNodeFactorygetLocalName, getNamespace, getPrefix, getQName, handleNamespace, hasName, internalGetLocalName, internalSetLocalName, internalSetNamespace, setLocalNamecoreDetach, coreGetNextSibling, coreGetNextSiblingIfAvailable, coreGetParent, coreGetPreviousSibling, coreHasParent, coreInsertSiblingAfter, coreInsertSiblingBefore, coreInsertSiblingsBefore, coreSetNextSibling, coreSetOwnerDocument, coreSetPreviousSibling, internalUnsetParentprotected SOAPBodyImpl(String localName, org.apache.axiom.om.OMNamespace ns, org.apache.axiom.soap.SOAPFactory factory)
public SOAPBodyImpl(org.apache.axiom.soap.SOAPEnvelope envelope,
org.apache.axiom.soap.SOAPFactory factory)
throws org.apache.axiom.soap.SOAPProcessingException
envelope - org.apache.axiom.soap.SOAPProcessingExceptionpublic SOAPBodyImpl(org.apache.axiom.soap.SOAPEnvelope envelope,
org.apache.axiom.om.OMXMLParserWrapper builder,
org.apache.axiom.soap.SOAPFactory factory)
envelope - builder - public abstract org.apache.axiom.soap.SOAPFault addFault(Exception e) throws org.apache.axiom.om.OMException
SOAPFault object and adds it to this SOAPBody
object.addFault in interface org.apache.axiom.soap.SOAPBodye - SOAPFault objectorg.apache.axiom.om.OMException - if there is a SOAP errororg.apache.axiom.om.OMExceptionpublic boolean hasFault()
SOAPFault object exists in this SOAPBody
object.hasFault in interface org.apache.axiom.soap.SOAPBodytrue if a SOAPFault object exists in this
SOAPBody object; false otherwisepublic org.apache.axiom.soap.SOAPFault getFault()
SOAPFault object in this SOAPBody object.getFault in interface org.apache.axiom.soap.SOAPBodySOAPFault object in this SOAPBody objectpublic void addFault(org.apache.axiom.soap.SOAPFault soapFault)
throws org.apache.axiom.om.OMException
addFault in interface org.apache.axiom.soap.SOAPBodysoapFault - org.apache.axiom.om.OMExceptionorg.apache.axiom.om.OMExceptionprotected void checkParent(org.apache.axiom.om.OMElement parent)
throws org.apache.axiom.soap.SOAPProcessingException
SOAPElementcheckParent in class SOAPElementorg.apache.axiom.soap.SOAPProcessingExceptionpublic org.apache.axiom.om.OMNode detach()
throws org.apache.axiom.om.OMException
detach in interface org.apache.axiom.om.impl.common.AxiomChildNodedetach in interface org.apache.axiom.om.OMNodeorg.apache.axiom.om.OMExceptionpublic org.apache.axiom.om.OMNamespace getFirstElementNS()
getFirstElementNS in interface org.apache.axiom.soap.SOAPBodypublic String getFirstElementLocalName()
getFirstElementLocalName in interface org.apache.axiom.soap.SOAPBodypublic void addChild(org.apache.axiom.om.OMNode child,
boolean fromBuilder)
addChild in interface org.apache.axiom.om.impl.common.AxiomContaineraddChild in interface org.apache.axiom.om.impl.OMContainerExprotected org.apache.axiom.om.OMElement createClone(org.apache.axiom.om.OMCloneOptions options,
org.apache.axiom.om.OMContainer targetParent)
createClone in class OMElementImplCopyright ? The Apache Software Foundation. All Rights Reserved.