- java.lang.Object
-
- com.sun.xml.messaging.saaj.soap.impl.ElementImpl
-
- com.sun.xml.messaging.saaj.soap.impl.FaultImpl
-
- com.sun.xml.messaging.saaj.soap.ver1_2.Fault1_2Impl
-
- All Implemented Interfaces:
Node,SOAPBodyElement,SOAPElement,SOAPFault,Element,Node
public class Fault1_2Impl extends FaultImpl
-
-
Field Summary
Fields Modifier and Type Field Description protected static Loggerlog-
Fields inherited from class com.sun.xml.messaging.saaj.soap.impl.FaultImpl
detail, faultActorElement, faultCodeElement, faultStringElement
-
Fields inherited from class com.sun.xml.messaging.saaj.soap.impl.ElementImpl
DSIG_NS, elementQName, WSU_NS, XENC_NS, XML_URI, XMLNS_URI
-
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_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 Summary
Constructors Constructor Description Fault1_2Impl(SOAPDocumentImpl ownerDocument)Fault1_2Impl(SOAPDocumentImpl ownerDocument, String prefix)Fault1_2Impl(SOAPDocumentImpl ownerDoc, String name, String prefix)Fault1_2Impl(SOAPDocumentImpl ownerDoc, Element domElement)
-
Method Summary
-
Methods inherited from class com.sun.xml.messaging.saaj.soap.impl.FaultImpl
addDetail, addElement, addElement, addFaultCodeElement, addSOAPFaultElement, convertCodeToQName, convertToSoapElement, findFaultActorElement, findFaultCodeElement, findFaultStringElement, getDetail, getFaultActor, hasDetail, initializeDetail, localeToXmlLang, setElementQName, setFaultCode, setFaultCode, setFaultCode, setFaultCode, xmlLangToLocale
-
Methods inherited from class com.sun.xml.messaging.saaj.soap.impl.ElementImpl
addCDATA, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, addNode, addText, appendChild, cloneNode, compareDocumentPosition, convertToSoapText, createElement, createElement, createQName, detachNode, doGetNamespacePrefixes, ensureNamespaceIsDeclared, findAndConvertChildElement, findChild, findEncodingStyleAttributeName, getAllAttributes, getAllAttributesAsQNames, getAllAttributesFrom, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getAttributeValue, getAttributeValue, getAttributeValueFrom, getBaseURI, getChildElementNodes, getChildElements, getChildElements, getChildElements, getChildElementsFrom, getChildNodes, getDomElement, getElementName, getElementQName, getElementsByTagName, getElementsByTagNameNS, getEncodingStyle, getFeature, getFirstChild, getLastChild, getLocalName, getLocalPart, getNamespaceAttr, getNamespaceAttrFrom, getNamespaceContextNodes, getNamespaceContextNodes, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPrefix, getPreviousSibling, getQualifiedName, getSchemaTypeInfo, getSoapDocument, getSOAPNamespace, getTagName, getTextContent, getUserData, getValue, getValueNode, getValueNodeStrict, getVisibleNamespacePrefixes, hasAttribute, hasAttributeNS, hasAttributes, hasChildNodes, importElement, insertBefore, isDefaultNamespace, isEqualNode, isNamespaceQualified, isNamespaceQualified, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, recycleNode, removeAttribute, removeAttribute, removeAttribute, removeAttributeNode, removeAttributeNS, removeChild, removeContents, removeNamespaceDeclaration, replaceChild, replaceElementWithSOAPElement, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setEncodingStyleNamespace, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setNodeValue, setParentElement, setPrefix, setTextContent, setUserData, setValue, tryToFindEncodingStyleAttributeName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.w3c.dom.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
-
Methods inherited from interface javax.xml.soap.Node
detachNode, getParentElement, getValue, recycleNode, setParentElement, setValue
-
Methods inherited from interface org.w3c.dom.Node
appendChild, 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, setUserData
-
Methods inherited from interface javax.xml.soap.SOAPElement
addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, createQName, getAllAttributes, getAllAttributesAsQNames, getAttributeValue, getAttributeValue, getChildElements, getChildElements, getChildElements, getElementName, getElementQName, getEncodingStyle, getNamespacePrefixes, getNamespaceURI, getVisibleNamespacePrefixes, removeAttribute, removeAttribute, removeContents, removeNamespaceDeclaration
-
-
-
-
Field Detail
-
log
protected static final Logger log
-
-
Constructor Detail
-
Fault1_2Impl
public Fault1_2Impl(SOAPDocumentImpl ownerDoc, String name, String prefix)
-
Fault1_2Impl
public Fault1_2Impl(SOAPDocumentImpl ownerDocument, String prefix)
-
Fault1_2Impl
public Fault1_2Impl(SOAPDocumentImpl ownerDocument)
-
Fault1_2Impl
public Fault1_2Impl(SOAPDocumentImpl ownerDoc, Element domElement)
-
-
Method Detail
-
getDetailName
protected NameImpl getDetailName()
- Specified by:
getDetailNamein classFaultImpl
-
getFaultCodeName
protected NameImpl getFaultCodeName()
- Specified by:
getFaultCodeNamein classFaultImpl
-
getFaultStringName
protected NameImpl getFaultStringName()
- Specified by:
getFaultStringNamein classFaultImpl
-
getFaultActorName
protected NameImpl getFaultActorName()
- Specified by:
getFaultActorNamein classFaultImpl
-
createDetail
protected DetailImpl createDetail()
- Specified by:
createDetailin classFaultImpl
-
createSOAPFaultElement
protected FaultElementImpl createSOAPFaultElement(String localName)
- Specified by:
createSOAPFaultElementin classFaultImpl
-
checkIfStandardFaultCode
protected void checkIfStandardFaultCode(String faultCode, String uri) throws SOAPException
- Specified by:
checkIfStandardFaultCodein classFaultImpl- Throws:
SOAPException
-
finallySetFaultCode
protected void finallySetFaultCode(String faultcode) throws SOAPException
- Specified by:
finallySetFaultCodein classFaultImpl- Throws:
SOAPException
-
getFaultReasonTexts
public Iterator<String> getFaultReasonTexts() throws SOAPException
- Throws:
SOAPException
-
addFaultReasonText
public void addFaultReasonText(String text, Locale locale) throws SOAPException
- Throws:
SOAPException
-
getFaultReasonText
public String getFaultReasonText(Locale locale) throws SOAPException
- Throws:
SOAPException
-
getFaultReasonLocales
public Iterator<Locale> getFaultReasonLocales() throws SOAPException
- Throws:
SOAPException
-
getFaultStringLocale
public Locale getFaultStringLocale()
-
getFaultNode
public String getFaultNode()
-
setFaultNode
public void setFaultNode(String uri) throws SOAPException
- Throws:
SOAPException
-
getFaultRole
public String getFaultRole()
-
setFaultRole
public void setFaultRole(String uri) throws SOAPException
- Throws:
SOAPException
-
getFaultCode
public String getFaultCode()
-
getFaultCodeAsQName
public QName getFaultCodeAsQName()
-
getFaultCodeAsName
public Name getFaultCodeAsName()
-
getFaultString
public String getFaultString()
-
setFaultString
public void setFaultString(String faultString) throws SOAPException
- Throws:
SOAPException
-
setFaultString
public void setFaultString(String faultString, Locale locale) throws SOAPException
- Throws:
SOAPException
-
appendFaultSubcode
public void appendFaultSubcode(QName subcode) throws SOAPException
- Throws:
SOAPException
-
removeAllFaultSubcodes
public void removeAllFaultSubcodes()
-
setEncodingStyle
public void setEncodingStyle(String encodingStyle) throws SOAPException
- Specified by:
setEncodingStylein interfaceSOAPElement- Overrides:
setEncodingStylein classElementImpl- Throws:
SOAPException
-
addAttribute
public SOAPElement addAttribute(Name name, String value) throws SOAPException
- Specified by:
addAttributein interfaceSOAPElement- Overrides:
addAttributein classElementImpl- Throws:
SOAPException
-
addAttribute
public SOAPElement addAttribute(QName name, String value) throws SOAPException
- Specified by:
addAttributein interfaceSOAPElement- Overrides:
addAttributein classElementImpl- Throws:
SOAPException
-
addTextNode
public SOAPElement addTextNode(String text) throws SOAPException
- Specified by:
addTextNodein interfaceSOAPElement- Overrides:
addTextNodein classElementImpl- Throws:
SOAPException
-
addChildElement
public SOAPElement addChildElement(SOAPElement element) throws SOAPException
- Specified by:
addChildElementin interfaceSOAPElement- Overrides:
addChildElementin classElementImpl- Throws:
SOAPException
-
isStandardFaultElement
protected boolean isStandardFaultElement(String localName)
- Specified by:
isStandardFaultElementin classFaultImpl
-
getDefaultFaultCode
protected QName getDefaultFaultCode()
- Specified by:
getDefaultFaultCodein classFaultImpl
-
createSOAPFaultElement
protected FaultElementImpl createSOAPFaultElement(QName qname)
- Specified by:
createSOAPFaultElementin classFaultImpl
-
createSOAPFaultElement
protected FaultElementImpl createSOAPFaultElement(Name qname)
- Specified by:
createSOAPFaultElementin classFaultImpl
-
setFaultActor
public void setFaultActor(String faultActor) throws SOAPException
- Specified by:
setFaultActorin interfaceSOAPFault- Specified by:
setFaultActorin classFaultImpl- Throws:
SOAPException
-
-