|
|||||||||||
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.axis2.saaj.NodeImplEx
org.apache.axis2.saaj.SOAPElementImpl
org.apache.axis2.saaj.SOAPBodyElementImpl
org.apache.axis2.saaj.SOAPFaultImpl
Field Summary | |
protected org.apache.axiom.soap.SOAPFault |
fault
|
Fields inherited from class org.apache.axis2.saaj.SOAPElementImpl |
element |
Fields inherited from class org.apache.axis2.saaj.NodeImplEx |
parentElement |
Fields inherited from class org.apache.axiom.om.impl.dom.NodeImpl |
builder, done, factory, FIRSTCHILD, flags, nodeType, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED |
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 |
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 | |
SOAPFaultImpl(org.apache.axiom.soap.SOAPFault fault)
|
Method Summary | |
Detail |
addDetail()
|
Iterator |
getChildElements()
Returns an iterator over all the immediate content of this element. |
Iterator |
getChildElements(Name name)
|
Detail |
getDetail()
|
String |
getFaultActor()
|
String |
getFaultCode()
Gets the fault code for this SOAPFault
object. |
Name |
getFaultCodeAsName()
|
String |
getFaultString()
|
Locale |
getFaultStringLocale()
|
void |
setFaultActor(String faultActor)
|
void |
setFaultCode(Name name)
|
void |
setFaultCode(String faultCode)
Sets this SOAPFault object with the given
fault code. |
void |
setFaultString(String faultString)
Sets the fault string for this SOAPFault
object to the given string. |
void |
setFaultString(String faultString,
Locale locale)
|
Methods inherited from class org.apache.axis2.saaj.SOAPBodyElementImpl |
setParentElement |
Methods inherited from class org.apache.axis2.saaj.NodeImplEx |
getParent, getSchemaTypeInfo, getType, recycleNode, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setType |
Methods inherited from class org.apache.axiom.om.impl.dom.NodeImpl |
appendChild, build, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getFeature, getLength, getNextOMSibling, getNodeValue, getOMFactory, getPreviousOMSibling, getTextContent, getUserData, hasAttributes, insertBefore, insertSiblingAfter, insertSiblingBefore, internalSerializeWithCache, isComplete, isDefaultNamespace, isEqualNode, isSameNode, isSupported, item, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setComplete, setNextOMSibling, setNodeValue, setOwnerDocument, setPrefix, setPreviousOMSibling, setTextContent, setUserData |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.xml.soap.SOAPElement |
addAttribute, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, addTextNode, getAllAttributes, getAttributeValue, getElementName, getEncodingStyle, getNamespacePrefixes, getNamespaceURI, getVisibleNamespacePrefixes, removeAttribute, removeContents, removeNamespaceDeclaration, setEncodingStyle |
Methods inherited from interface javax.xml.soap.Node |
detachNode, getParentElement, getValue, recycleNode, setParentElement, setValue |
Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
Methods inherited from interface org.w3c.dom.Element |
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS |
Field Detail |
protected org.apache.axiom.soap.SOAPFault fault
Constructor Detail |
public SOAPFaultImpl(org.apache.axiom.soap.SOAPFault fault)
fault
- Method Detail |
public void setFaultCode(String faultCode) throws SOAPException
SOAPFault
object with the given
fault code.
Fault codes, which given information about the fault, are defined in the SOAP 1.1 specification.
setFaultCode
in interface SOAPFault
faultCode
- a String
giving
the fault code to be set; must be one of the fault codes
defined in the SOAP 1.1 specification
SOAPException
- if there was an error in
adding the faultCode
to the underlying XML
tree.getFaultCode()
public String getFaultCode()
SOAPFault
object.
getFaultCode
in interface SOAPFault
String
with the fault codesetFaultCode(java.lang.String)
public void setFaultActor(String faultActor) throws SOAPException
setFaultActor
in interface SOAPFault
SOAPException
public String getFaultActor()
getFaultActor
in interface SOAPFault
public void setFaultString(String faultString) throws SOAPException
SOAPFault
object to the given string.
setFaultString
in interface SOAPFault
faultString
- a String
giving an explanation of the fault
SOAPException
- if there was an error in
adding the faultString
to the underlying XML
tree.getFaultString()
public String getFaultString()
getFaultString
in interface SOAPFault
public Detail getDetail()
getDetail
in interface SOAPFault
public void setFaultCode(Name name) throws SOAPException
setFaultCode
in interface SOAPFault
SOAPException
public Detail addDetail() throws SOAPException
addDetail
in interface SOAPFault
SOAPException
public Name getFaultCodeAsName()
getFaultCodeAsName
in interface SOAPFault
public void setFaultString(String faultString, Locale locale) throws SOAPException
setFaultString
in interface SOAPFault
SOAPException
public Locale getFaultStringLocale()
getFaultStringLocale
in interface SOAPFault
public Iterator getChildElements(Name name)
getChildElements
in interface SOAPElement
getChildElements
in class SOAPElementImpl
public Iterator getChildElements()
SOAPElementImpl
Text
objects as well
as SOAPElement
objects.
getChildElements
in interface SOAPElement
getChildElements
in class SOAPElementImpl
Text
and SOAPElement
contained within this SOAPElement
object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |