- 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_1.Fault1_1Impl
-
- All Implemented Interfaces:
Node,SOAPBodyElement,SOAPElement,SOAPFault,Element,Node
public class Fault1_1Impl 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_1Impl(SOAPDocumentImpl ownerDoc)Fault1_1Impl(SOAPDocumentImpl ownerDocument, String prefix)Fault1_1Impl(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, xmlLangToLocale
-
Methods inherited from class com.sun.xml.messaging.saaj.soap.impl.ElementImpl
addAttribute, addAttribute, addCDATA, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, addNode, addText, addTextNode, 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, setEncodingStyle, 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
addAttribute, 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, setEncodingStyle
-
-
-
-
Field Detail
-
log
protected static final Logger log
-
-
Constructor Detail
-
Fault1_1Impl
public Fault1_1Impl(SOAPDocumentImpl ownerDocument, String prefix)
-
Fault1_1Impl
public Fault1_1Impl(SOAPDocumentImpl ownerDoc, Element domElement)
-
Fault1_1Impl
public Fault1_1Impl(SOAPDocumentImpl ownerDoc)
-
-
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
-
getFaultCode
public String getFaultCode()
-
getFaultCodeAsName
public Name getFaultCodeAsName()
-
getFaultCodeAsQName
public QName getFaultCodeAsQName()
-
setFaultString
public void setFaultString(String faultString) throws SOAPException
- Throws:
SOAPException
-
getFaultString
public String getFaultString()
-
getFaultStringLocale
public Locale getFaultStringLocale()
-
setFaultString
public void setFaultString(String faultString, Locale locale) throws SOAPException
- Throws:
SOAPException
-
isStandardFaultElement
protected boolean isStandardFaultElement(String localName)
- Specified by:
isStandardFaultElementin classFaultImpl
-
appendFaultSubcode
public void appendFaultSubcode(QName subcode)
-
removeAllFaultSubcodes
public void removeAllFaultSubcodes()
-
addFaultReasonText
public void addFaultReasonText(String text, Locale locale) throws SOAPException
- Throws:
SOAPException
-
getFaultRole
public String getFaultRole()
-
setFaultRole
public void setFaultRole(String uri)
-
getFaultNode
public String getFaultNode()
-
setFaultNode
public void setFaultNode(String uri)
-
getDefaultFaultCode
protected QName getDefaultFaultCode()
- Specified by:
getDefaultFaultCodein classFaultImpl
-
addChildElement
public SOAPElement addChildElement(SOAPElement element) throws SOAPException
- Specified by:
addChildElementin interfaceSOAPElement- Overrides:
addChildElementin classElementImpl- Throws:
SOAPException
-
createSOAPFaultElement
protected FaultElementImpl createSOAPFaultElement(QName qname)
- Specified by:
createSOAPFaultElementin classFaultImpl
-
createSOAPFaultElement
protected FaultElementImpl createSOAPFaultElement(Name qname)
- Specified by:
createSOAPFaultElementin classFaultImpl
-
setFaultCode
public void setFaultCode(String faultCode, String prefix, String uri) throws SOAPException
- Overrides:
setFaultCodein classFaultImpl- Throws:
SOAPException
-
setFaultActor
public void setFaultActor(String faultActor) throws SOAPException
- Specified by:
setFaultActorin interfaceSOAPFault- Specified by:
setFaultActorin classFaultImpl- Throws:
SOAPException
-
-