|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axiom.om.impl.llom.OMNodeImpl
org.apache.axiom.om.impl.llom.OMElementImpl
org.apache.axiom.soap.impl.llom.SOAPElement
org.apache.axiom.soap.impl.llom.SOAPBodyImpl
public abstract class SOAPBodyImpl
Class SOAPBodyImpl
| Field Summary |
|---|
| Fields inherited from class org.apache.axiom.om.impl.llom.OMElementImpl |
|---|
attributes, DEFAULT_DEFAULT_NS_OBJECT, firstChild, lastChild, localName, namespaces, noPrefixNamespaceCounter, ns, qName |
| Fields inherited from class org.apache.axiom.om.impl.llom.OMNodeImpl |
|---|
builder, done, factory, nextSibling, nodeType, parent, previousSibling |
| 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 |
| Constructor Summary | |
|---|---|
|
SOAPBodyImpl(SOAPEnvelope envelope,
OMXMLParserWrapper builder,
SOAPFactory factory)
Constructor SOAPBodyImpl |
|
SOAPBodyImpl(SOAPEnvelope envelope,
SOAPFactory factory)
|
protected |
SOAPBodyImpl(java.lang.String localName,
OMNamespace ns,
SOAPFactory factory)
|
| Method Summary | |
|---|---|
void |
addChild(OMNode child)
Adds child to the element. |
abstract SOAPFault |
addFault(java.lang.Exception e)
Creates a new SOAPFault object and adds it to this SOAPBody
object. |
void |
addFault(SOAPFault soapFault)
|
void |
buildNext()
Forces the parser to proceed, if parser has not yet finished with the XML input. |
protected void |
checkParent(OMElement parent)
This has to be implemented by all the derived classes to check for the correct parent. |
OMNode |
detach()
Removes this information item and its children, from the model completely. |
SOAPFault |
getFault()
Returns the SOAPFault object in this SOAPBody object. |
java.lang.String |
getFirstElementLocalName()
Retrieves the local name of the first element in the body. |
OMNamespace |
getFirstElementNS()
Retrieves the OMNamespace of the first element in the body. |
boolean |
hasFault()
Indicates whether a SOAPFault object exists in this SOAPBody
object. |
| Methods inherited from class org.apache.axiom.soap.impl.llom.SOAPElement |
|---|
registerContentHandler, setParent |
| Methods inherited from class org.apache.axiom.om.impl.llom.OMNodeImpl |
|---|
close, getOMFactory, getParent, getPreviousOMSibling, importNode, insertSiblingAfter, insertSiblingBefore, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setComplete, setNextOMSibling, setPreviousOMSibling, setType |
| 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 |
|---|
build, buildWithAttachments, close, discard, getNextOMSibling, getOMFactory, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBefore, isComplete, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume |
| Methods inherited from interface org.apache.axiom.om.OMContainer |
|---|
getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getFirstChildWithName, getFirstOMChild, isComplete |
| Methods inherited from interface org.apache.axiom.om.impl.OMContainerEx |
|---|
setComplete |
| Constructor Detail |
|---|
protected SOAPBodyImpl(java.lang.String localName,
OMNamespace ns,
SOAPFactory factory)
public SOAPBodyImpl(SOAPEnvelope envelope,
SOAPFactory factory)
throws SOAPProcessingException
envelope -
SOAPProcessingException
public SOAPBodyImpl(SOAPEnvelope envelope,
OMXMLParserWrapper builder,
SOAPFactory factory)
envelope - builder - | Method Detail |
|---|
public abstract SOAPFault addFault(java.lang.Exception e)
throws OMException
SOAPFault object and adds it to this SOAPBody
object.
addFault in interface SOAPBodye -
SOAPFault object
OMException - if there is a SOAP error
OMExceptionpublic boolean hasFault()
SOAPFault object exists in this SOAPBody
object.
hasFault in interface SOAPBodytrue if a SOAPFault object exists in this
SOAPBody object; false otherwisepublic SOAPFault getFault()
SOAPFault object in this SOAPBody object.
getFault in interface SOAPBodySOAPFault object in this SOAPBody object
public void addFault(SOAPFault soapFault)
throws OMException
addFault in interface SOAPBodysoapFault -
OMException
OMException
protected void checkParent(OMElement parent)
throws SOAPProcessingException
SOAPElement
checkParent in class SOAPElementSOAPProcessingException
public OMNode detach()
throws OMException
OMElementImpl
detach in interface OMNodedetach in class OMElementImplOMException - If a node is not complete, the detach can trigger further parsing, which may
cause an exception.public void buildNext()
OMElementImpl
buildNext in interface OMContainerbuildNext in class OMElementImplpublic OMNamespace getFirstElementNS()
SOAPBody
getFirstElementNS in interface SOAPBodypublic java.lang.String getFirstElementLocalName()
SOAPBody
getFirstElementLocalName in interface SOAPBodypublic void addChild(OMNode child)
OMElementImpl
addChild in interface OMContaineraddChild in class OMElementImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||