public class SOAPFaultImpl extends SOAPBodyElementDoc implements SOAPFault
| Modifier and Type | Field and Description |
|---|---|
static Set<QName> |
soap11FaultCodes |
static Set<QName> |
soap12FaultCodes |
GENERIC_PARAM_NAME, GENERIC_RETURN_NAME, soapContentdomNode, soapParentATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE| Constructor and Description |
|---|
SOAPFaultImpl() |
SOAPFaultImpl(SOAPElementImpl element) |
SOAPFaultImpl(String prefix,
String namespace) |
| Modifier and Type | Method and Description |
|---|---|
SOAPElement |
addChildElement(SOAPElement child)
Add a SOAPElement as a child of this SOAPElement instance.
|
Detail |
addDetail()
Creates an optional Detail object and sets it as the Detail object for this SOAPFault object.
|
void |
addFaultReasonText(String text,
Locale locale) |
void |
appendFaultSubcode(QName subcode) |
Detail |
getDetail()
Returns the optional detail element for this SOAPFault object.
|
String |
getFaultActor()
Gets the fault actor for this SOAPFault object.
|
String |
getFaultCode()
Gets the fault code for this SOAPFault object.
|
Name |
getFaultCodeAsName()
Gets the mandatory SOAP 1.1 fault code for this SOAPFault object as a SAAJ Name object.
|
QName |
getFaultCodeAsQName() |
String |
getFaultNode() |
Iterator |
getFaultReasonLocales() |
String |
getFaultReasonText(Locale locale) |
Iterator |
getFaultReasonTexts() |
String |
getFaultRole() |
String |
getFaultString()
Gets the fault string for this SOAPFault object.
|
Locale |
getFaultStringLocale()
Gets the locale of the fault string for this SOAPFault object.
|
Iterator |
getFaultSubcodes() |
boolean |
hasDetail() |
void |
removeAllFaultSubcodes() |
void |
setFaultActor(String faultActor)
Sets this SOAPFault object with the given fault actor.
|
void |
setFaultCode(Name faultCode)
Sets this SOAPFault object with the given fault code.
|
void |
setFaultCode(QName faultCode) |
void |
setFaultCode(String faultCode)
Sets this SOAPFault object with the give fault code.
|
void |
setFaultNode(String uri) |
void |
setFaultRole(String uri) |
void |
setFaultString(String faultString)
Sets the fault string for this SOAPFault object to the given string.
|
void |
setFaultString(String faultString,
Locale locale)
Sets the fault string for this SOAPFault object to the given string and localized to the given locale.
|
void |
writeElement(Writer writer)
The default implementation uses a DOMWriter.
|
transitionToaccept, addAttribute, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, addTextNode, appendChild, cloneNode, getAllAttributes, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getAttributeValue, getChildElements, getChildElements, getChildNodes, getElementName, getElementsByTagName, getElementsByTagNameNS, getEncodingStyle, getFirstChild, getJavaType, getLastChild, getNamespacePrefixes, getNamespaceURI, getNextSibling, getObjectValue, getParamMetaData, getPreviousSibling, getSchemaTypeInfo, getTagName, getValue, getVisibleNamespacePrefixes, getXMLFragment, getXmlType, hasAttribute, hasAttributeNS, hasAttributes, hasChildNodes, removeAttribute, removeAttribute, removeAttributeNode, removeAttributeNS, removeChild, removeContents, removeNamespaceDeclaration, replaceChild, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setObjectValue, setParamMetaData, setValue, setXMLFragmentaddAttribute, addChildElement, createQName, getAllAttributesAsQNames, getAttributeValue, getChildElements, getElementQName, getFirstChildElementByLocalName, getSOAPEnvelope, removeAttribute, setElementQName, setElementQNameInternal, setEncodingStyle, setPrefix, writeElementContentcompareDocumentPosition, detachNode, getBaseURI, getFeature, getLocalName, getNamespaceURI, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPrefix, getTextContent, getUserData, hashCode, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, recycleNode, setNodeValue, setParentElement, setTextContent, setUserData, toStringclone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitaddAttribute, addAttribute, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, addTextNode, createQName, getAllAttributes, getAllAttributesAsQNames, getAttributeValue, getAttributeValue, getChildElements, getChildElements, getChildElements, getElementName, getElementQName, getEncodingStyle, getNamespacePrefixes, getNamespaceURI, getVisibleNamespacePrefixes, removeAttribute, removeAttribute, removeContents, removeNamespaceDeclaration, setElementQName, setEncodingStyledetachNode, getParentElement, getValue, recycleNode, setParentElement, setValuegetAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNSappendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDatapublic SOAPFaultImpl()
throws SOAPException
SOAPExceptionpublic SOAPFaultImpl(String prefix, String namespace) throws SOAPException
SOAPExceptionpublic SOAPFaultImpl(SOAPElementImpl element)
public String getFaultCode()
getFaultCode in interface SOAPFaultpublic Name getFaultCodeAsName()
getFaultCodeAsName in interface SOAPFaultpublic QName getFaultCodeAsQName()
getFaultCodeAsQName in interface SOAPFaultpublic void setFaultCode(String faultCode) throws SOAPException
setFaultCode in interface SOAPFaultSOAPExceptionpublic void setFaultCode(Name faultCode) throws SOAPException
setFaultCode in interface SOAPFaultSOAPExceptionpublic void setFaultCode(QName faultCode) throws SOAPException
setFaultCode in interface SOAPFaultSOAPExceptionpublic Iterator getFaultSubcodes()
getFaultSubcodes in interface SOAPFaultpublic void appendFaultSubcode(QName subcode) throws SOAPException
appendFaultSubcode in interface SOAPFaultSOAPExceptionpublic void removeAllFaultSubcodes()
removeAllFaultSubcodes in interface SOAPFaultpublic String getFaultString()
getFaultString in interface SOAPFaultpublic Locale getFaultStringLocale()
getFaultStringLocale in interface SOAPFaultpublic void setFaultString(String faultString) throws SOAPException
setFaultString in interface SOAPFaultSOAPExceptionpublic void setFaultString(String faultString, Locale locale) throws SOAPException
setFaultString in interface SOAPFaultSOAPExceptionpublic Iterator getFaultReasonTexts() throws SOAPException
getFaultReasonTexts in interface SOAPFaultSOAPExceptionpublic Iterator getFaultReasonLocales() throws SOAPException
getFaultReasonLocales in interface SOAPFaultSOAPExceptionpublic String getFaultReasonText(Locale locale) throws SOAPException
getFaultReasonText in interface SOAPFaultSOAPExceptionpublic void addFaultReasonText(String text, Locale locale) throws SOAPException
addFaultReasonText in interface SOAPFaultSOAPExceptionpublic String getFaultActor()
getFaultActor in interface SOAPFaultpublic void setFaultActor(String faultActor) throws SOAPException
setFaultActor in interface SOAPFaultSOAPExceptionpublic String getFaultRole()
getFaultRole in interface SOAPFaultpublic void setFaultRole(String uri) throws SOAPException
setFaultRole in interface SOAPFaultSOAPExceptionpublic String getFaultNode()
getFaultNode in interface SOAPFaultpublic void setFaultNode(String uri) throws SOAPException
setFaultNode in interface SOAPFaultSOAPExceptionpublic Detail getDetail()
public Detail addDetail() throws SOAPException
addDetail in interface SOAPFaultSOAPExceptionpublic SOAPElement addChildElement(SOAPElement child) throws SOAPException
SOAPElementImpladdChildElement in interface SOAPElementaddChildElement in class SOAPContentElementchild - the SOAPElement to be added as a new childSOAPException - if there was an error in adding this element as a childpublic void writeElement(Writer writer)
SOAPElementImplwriteElement in class SOAPContentElementCopyright © 2013 JBoss, by Red Hat. All Rights Reserved.