public abstract class FaultImpl extends ElementImpl implements SOAPFault
Modifier and Type | Field and Description |
---|---|
protected Detail |
detail |
protected SOAPFaultElement |
faultActorElement |
protected SOAPFaultElement |
faultCodeElement |
protected SOAPFaultElement |
faultStringElement |
DSIG_NS, elementQName, log, WSU_NS, XENC_NS, XML_URI, XMLNS_URI
localName, namespaceURI
firstChild, fNodeListCache, ownerDocument
nextSibling, previousSibling
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_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
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION
Modifier | Constructor and Description |
---|---|
protected |
FaultImpl(SOAPDocumentImpl ownerDoc,
NameImpl name) |
addAttribute, addAttribute, addCDATA, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, addNode, addText, addTextNode, circumventBug5034339, createElement, createElement, createQName, detachNode, doGetNamespacePrefixes, ensureNamespaceIsDeclared, findChild, findEncodingStyleAttributeName, getAllAttributes, getAllAttributesAsQNames, getAllAttributesFrom, getAttributeValue, getAttributeValue, getAttributeValueFrom, getChildElementNodes, getChildElements, getChildElements, getChildElements, getChildElementsFrom, getElementName, getElementQName, getEncodingStyle, getLocalPart, getNamespaceAttr, getNamespaceAttrFrom, getNamespaceContextNodes, getNamespaceContextNodes, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getOwnerDocument, getParentElement, getPrefix, getQualifiedName, getSOAPNamespace, getValue, getValueNode, getValueNodeStrict, getVisibleNamespacePrefixes, importElement, isNamespaceQualified, isNamespaceQualified, recycleNode, removeAttribute, removeAttribute, removeContents, removeNamespaceDeclaration, replaceElementWithSOAPElement, setAttributeNS, setEncodingStyle, setEncodingStyleNamespace, setParentElement, setValue, tryToFindEncodingStyleAttributeName
getBaseURI, getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setPrefix, setType, setValues
cloneNode, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getXercesAttribute, hasAttribute, hasAttributeNS, hasAttributes, isEqualNode, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getTextContent, hasChildNodes, insertBefore, item, removeChild, replaceChild, setTextContent, synchronizeChildren
getNextSibling, getParentNode, getPreviousSibling
addEventListener, appendChild, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setUserData, setUserData, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addFaultReasonText, appendFaultSubcode, getFaultCode, getFaultCodeAsName, getFaultCodeAsQName, getFaultNode, getFaultReasonLocales, getFaultReasonText, getFaultReasonTexts, getFaultRole, getFaultString, getFaultStringLocale, getFaultSubcodes, removeAllFaultSubcodes, setFaultNode, setFaultRole, setFaultString, setFaultString
addAttribute, addAttribute, addChildElement, 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
detachNode, getParentElement, getValue, recycleNode, setParentElement, setValue
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
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
protected SOAPFaultElement faultStringElement
protected SOAPFaultElement faultActorElement
protected SOAPFaultElement faultCodeElement
protected Detail detail
protected FaultImpl(SOAPDocumentImpl ownerDoc, NameImpl name)
protected abstract NameImpl getDetailName()
protected abstract NameImpl getFaultCodeName()
protected abstract NameImpl getFaultStringName()
protected abstract NameImpl getFaultActorName()
protected abstract DetailImpl createDetail()
protected abstract FaultElementImpl createSOAPFaultElement(String localName)
protected abstract FaultElementImpl createSOAPFaultElement(QName qname)
protected abstract FaultElementImpl createSOAPFaultElement(Name qname)
protected abstract void checkIfStandardFaultCode(String faultCode, String uri) throws SOAPException
SOAPException
protected abstract void finallySetFaultCode(String faultcode) throws SOAPException
SOAPException
protected abstract boolean isStandardFaultElement(String localName)
protected abstract QName getDefaultFaultCode()
protected void findFaultCodeElement()
protected void findFaultActorElement()
protected void findFaultStringElement()
public void setFaultCode(String faultCode) throws SOAPException
setFaultCode
in interface SOAPFault
SOAPException
public void setFaultCode(String faultCode, String prefix, String uri) throws SOAPException
SOAPException
public void setFaultCode(Name faultCodeQName) throws SOAPException
setFaultCode
in interface SOAPFault
SOAPException
public void setFaultCode(QName faultCodeQName) throws SOAPException
setFaultCode
in interface SOAPFault
SOAPException
protected static QName convertCodeToQName(String code, SOAPElement codeContainingElement)
protected void initializeDetail()
public Detail addDetail() throws SOAPException
addDetail
in interface SOAPFault
SOAPException
public abstract void setFaultActor(String faultActor) throws SOAPException
setFaultActor
in interface SOAPFault
SOAPException
public String getFaultActor()
getFaultActor
in interface SOAPFault
public SOAPElement setElementQName(QName newName) throws SOAPException
setElementQName
in interface SOAPElement
setElementQName
in class ElementImpl
SOAPException
protected SOAPElement convertToSoapElement(Element element)
convertToSoapElement
in class ElementImpl
protected SOAPFaultElement addFaultCodeElement() throws SOAPException
SOAPException
protected SOAPElement addElement(Name name) throws SOAPException
addElement
in class ElementImpl
SOAPException
protected SOAPElement addElement(QName name) throws SOAPException
addElement
in class ElementImpl
SOAPException
protected FaultElementImpl addSOAPFaultElement(String localName) throws SOAPException
SOAPException
protected static Locale xmlLangToLocale(String xmlLang)
Copyright © 2018 Oracle. All rights reserved.