public abstract class FaultImpl extends ElementImpl implements javax.xml.soap.SOAPFault
Modifier and Type | Field and Description |
---|---|
protected javax.xml.soap.Detail |
detail |
protected javax.xml.soap.SOAPFaultElement |
faultActorElement |
protected javax.xml.soap.SOAPFaultElement |
faultCodeElement |
protected javax.xml.soap.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 javax.xml.soap.SOAPFaultElement faultStringElement
protected javax.xml.soap.SOAPFaultElement faultActorElement
protected javax.xml.soap.SOAPFaultElement faultCodeElement
protected javax.xml.soap.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(javax.xml.soap.Name qname)
protected abstract void checkIfStandardFaultCode(String faultCode, String uri) throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
protected abstract void finallySetFaultCode(String faultcode) throws javax.xml.soap.SOAPException
javax.xml.soap.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 javax.xml.soap.SOAPException
setFaultCode
in interface javax.xml.soap.SOAPFault
javax.xml.soap.SOAPException
public void setFaultCode(String faultCode, String prefix, String uri) throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
public void setFaultCode(javax.xml.soap.Name faultCodeQName) throws javax.xml.soap.SOAPException
setFaultCode
in interface javax.xml.soap.SOAPFault
javax.xml.soap.SOAPException
public void setFaultCode(QName faultCodeQName) throws javax.xml.soap.SOAPException
setFaultCode
in interface javax.xml.soap.SOAPFault
javax.xml.soap.SOAPException
protected static QName convertCodeToQName(String code, javax.xml.soap.SOAPElement codeContainingElement)
protected void initializeDetail()
public javax.xml.soap.Detail getDetail()
getDetail
in interface javax.xml.soap.SOAPFault
public javax.xml.soap.Detail addDetail() throws javax.xml.soap.SOAPException
addDetail
in interface javax.xml.soap.SOAPFault
javax.xml.soap.SOAPException
public boolean hasDetail()
hasDetail
in interface javax.xml.soap.SOAPFault
public abstract void setFaultActor(String faultActor) throws javax.xml.soap.SOAPException
setFaultActor
in interface javax.xml.soap.SOAPFault
javax.xml.soap.SOAPException
public String getFaultActor()
getFaultActor
in interface javax.xml.soap.SOAPFault
public javax.xml.soap.SOAPElement setElementQName(QName newName) throws javax.xml.soap.SOAPException
setElementQName
in interface javax.xml.soap.SOAPElement
setElementQName
in class ElementImpl
javax.xml.soap.SOAPException
protected javax.xml.soap.SOAPElement convertToSoapElement(Element element)
convertToSoapElement
in class ElementImpl
protected javax.xml.soap.SOAPFaultElement addFaultCodeElement() throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
protected javax.xml.soap.SOAPElement addElement(javax.xml.soap.Name name) throws javax.xml.soap.SOAPException
addElement
in class ElementImpl
javax.xml.soap.SOAPException
protected javax.xml.soap.SOAPElement addElement(QName name) throws javax.xml.soap.SOAPException
addElement
in class ElementImpl
javax.xml.soap.SOAPException
protected FaultElementImpl addSOAPFaultElement(String localName) throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
protected static Locale xmlLangToLocale(String xmlLang)
Copyright © 2014 Oracle. All rights reserved.