public abstract class SOAPBodyImpl extends SOAPElement implements org.apache.axiom.soap.SOAPBody, org.apache.axiom.om.OMConstants
attributes, DEFAULT_DEFAULT_NS_OBJECT, firstChild, lastChild, localName, namespaces, noPrefixNamespaceCounter, ns, qNamenextSibling, nodeType, parent, previousSiblingbuilder, done, factoryCDATA_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)
Adds child to the element.
|
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) |
void |
buildNext()
Forces the parser to proceed, if parser has not yet finished with the XML input.
|
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.
|
org.apache.axiom.om.OMNode |
detach()
Removes this information item and its children, from the model completely.
|
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. |
registerContentHandler, setParentaddAttribute, addAttribute, build, buildWithAttachments, cloneOMElement, declareDefaultNamespace, declareNamespace, declareNamespace, discard, findNamespace, findNamespaceURI, getAllAttributes, getAllDeclaredNamespaces, getAttribute, getAttributeValue, getBuilder, getChildElements, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getDefaultNamespace, getFirstChildWithName, getFirstElement, getFirstOMChild, getFirstOMChildIfAvailable, getLineNumber, getLocalName, getNamespace, getNextOMSibling, getQName, getText, getTextAsQName, getTrimmedText, getType, getXMLStreamReader, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching, internalSerialize, notifyChildComplete, removeAttribute, resolveQName, setBuilder, setFirstChild, setLastChild, setLineNumber, setLocalName, setNamespace, setNamespaceWithNoFindInCurrentScope, setText, setText, toString, toStringWithConsumegetNextOMSiblingIfAvailable, getParent, getPreviousOMSibling, importNode, insertSiblingAfter, insertSiblingBefore, internalSerialize, internalSerializeAndConsume, setComplete, setNextOMSibling, setPreviousOMSibling, setTypeclose, getOMFactory, isComplete, serialize, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsumeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAttribute, addAttribute, cloneOMElement, declareDefaultNamespace, declareNamespace, declareNamespace, findNamespace, findNamespaceURI, getAllAttributes, getAllDeclaredNamespaces, getAttribute, getAttributeValue, getChildElements, getDefaultNamespace, getFirstElement, getLineNumber, getLocalName, getNamespace, getQName, getText, getTextAsQName, getXMLStreamReader, removeAttribute, resolveQName, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setBuilder, setFirstChild, setLineNumber, setLocalName, setNamespace, setNamespaceWithNoFindInCurrentScope, setText, setText, toString, toStringWithConsumebuildWithAttachments, discard, getNextOMSibling, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBeforegetBuilder, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getFirstChildWithName, getFirstOMChild, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCachingprotected 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
OMElementImpldetach in interface org.apache.axiom.om.OMNodedetach in class OMElementImplorg.apache.axiom.om.OMExceptionpublic void buildNext()
OMElementImplbuildNext in interface org.apache.axiom.om.OMContainerbuildNext in class OMElementImplpublic 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)
OMElementImpladdChild in interface org.apache.axiom.om.OMContaineraddChild in class OMElementImplCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.