com.sun.xml.messaging.saaj.soap.ver1_2
Class Fault1_2Impl

java.lang.Object
  extended by com.sun.org.apache.xerces.internal.dom.NodeImpl
      extended by com.sun.org.apache.xerces.internal.dom.ChildNode
          extended by com.sun.org.apache.xerces.internal.dom.ParentNode
              extended by com.sun.org.apache.xerces.internal.dom.ElementImpl
                  extended by com.sun.org.apache.xerces.internal.dom.ElementNSImpl
                      extended by com.sun.xml.messaging.saaj.soap.impl.ElementImpl
                          extended by com.sun.xml.messaging.saaj.soap.impl.FaultImpl
                              extended by com.sun.xml.messaging.saaj.soap.ver1_2.Fault1_2Impl
All Implemented Interfaces:
Serializable, Cloneable, SOAPBodyElement, SOAPElement, SOAPFault, Element, EventTarget, Node, NodeList, TypeInfo

public class Fault1_2Impl
extends FaultImpl

See Also:
Serialized Form

Field Summary
protected static Logger log
           
 
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 class com.sun.org.apache.xerces.internal.dom.ElementNSImpl
localName, namespaceURI
 
Fields inherited from class com.sun.org.apache.xerces.internal.dom.ElementImpl
attributes, name
 
Fields inherited from class com.sun.org.apache.xerces.internal.dom.ParentNode
firstChild, fNodeListCache, ownerDocument
 
Fields inherited from class com.sun.org.apache.xerces.internal.dom.ChildNode
nextSibling, previousSibling
 
Fields inherited from class com.sun.org.apache.xerces.internal.dom.NodeImpl
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
 
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
 
Fields inherited from interface org.w3c.dom.TypeInfo
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION
 
Constructor Summary
Fault1_2Impl(SOAPDocumentImpl ownerDocument, String prefix)
           
Fault1_2Impl(SOAPDocumentImpl ownerDoc, String name, String prefix)
           
 
Method Summary
 SOAPElement addAttribute(Name name, String value)
           
 SOAPElement addAttribute(QName name, String value)
           
 SOAPElement addChildElement(SOAPElement element)
           
 void addFaultReasonText(String text, Locale locale)
           
 SOAPElement addTextNode(String text)
           
 void appendFaultSubcode(QName subcode)
           
protected  void checkIfStandardFaultCode(String faultCode, String uri)
           
protected  DetailImpl createDetail()
           
protected  FaultElementImpl createSOAPFaultElement(Name qname)
           
protected  FaultElementImpl createSOAPFaultElement(QName qname)
           
protected  FaultElementImpl createSOAPFaultElement(String localName)
           
protected  void finallySetFaultCode(String faultcode)
           
protected  QName getDefaultFaultCode()
           
protected  NameImpl getDetailName()
           
protected  NameImpl getFaultActorName()
           
 String getFaultCode()
           
 Name getFaultCodeAsName()
           
 QName getFaultCodeAsQName()
           
protected  NameImpl getFaultCodeName()
           
 String getFaultNode()
           
 Iterator getFaultReasonLocales()
           
 String getFaultReasonText(Locale locale)
           
 Iterator getFaultReasonTexts()
           
 String getFaultRole()
           
 String getFaultString()
           
 Locale getFaultStringLocale()
           
protected  NameImpl getFaultStringName()
           
 Iterator getFaultSubcodes()
           
protected  boolean isStandardFaultElement(String localName)
           
 void removeAllFaultSubcodes()
           
 void setEncodingStyle(String encodingStyle)
           
 void setFaultActor(String faultActor)
           
 void setFaultNode(String uri)
           
 void setFaultRole(String uri)
           
 void setFaultString(String faultString)
           
 void setFaultString(String faultString, Locale locale)
           
 
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, circumventBug5034339, createElement, createElement, createQName, detachNode, doGetNamespacePrefixes, ensureNamespaceIsDeclared, findAndConvertChildElement, 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, setEncodingStyleNamespace, setParentElement, setValue, tryToFindEncodingStyleAttributeName
 
Methods inherited from class com.sun.org.apache.xerces.internal.dom.ElementNSImpl
getBaseURI, getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setPrefix, setType, setValues
 
Methods inherited from class com.sun.org.apache.xerces.internal.dom.ElementImpl
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
 
Methods inherited from class com.sun.org.apache.xerces.internal.dom.ParentNode
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getTextContent, hasChildNodes, insertBefore, item, removeChild, replaceChild, setTextContent, synchronizeChildren
 
Methods inherited from class com.sun.org.apache.xerces.internal.dom.ChildNode
getNextSibling, getParentNode, getPreviousSibling
 
Methods inherited from class com.sun.org.apache.xerces.internal.dom.NodeImpl
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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
 
Methods inherited from interface javax.xml.soap.Node
detachNode, getParentElement, getValue, recycleNode, setParentElement, setValue
 
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 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
 

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)
Method Detail

getDetailName

protected NameImpl getDetailName()
Specified by:
getDetailName in class FaultImpl

getFaultCodeName

protected NameImpl getFaultCodeName()
Specified by:
getFaultCodeName in class FaultImpl

getFaultStringName

protected NameImpl getFaultStringName()
Specified by:
getFaultStringName in class FaultImpl

getFaultActorName

protected NameImpl getFaultActorName()
Specified by:
getFaultActorName in class FaultImpl

createDetail

protected DetailImpl createDetail()
Specified by:
createDetail in class FaultImpl

createSOAPFaultElement

protected FaultElementImpl createSOAPFaultElement(String localName)
Specified by:
createSOAPFaultElement in class FaultImpl

checkIfStandardFaultCode

protected void checkIfStandardFaultCode(String faultCode,
                                        String uri)
                                 throws SOAPException
Specified by:
checkIfStandardFaultCode in class FaultImpl
Throws:
SOAPException

finallySetFaultCode

protected void finallySetFaultCode(String faultcode)
                            throws SOAPException
Specified by:
finallySetFaultCode in class FaultImpl
Throws:
SOAPException

getFaultReasonTexts

public Iterator 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 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()

getFaultSubcodes

public Iterator getFaultSubcodes()

setEncodingStyle

public void setEncodingStyle(String encodingStyle)
                      throws SOAPException
Specified by:
setEncodingStyle in interface SOAPElement
Overrides:
setEncodingStyle in class ElementImpl
Throws:
SOAPException

addAttribute

public SOAPElement addAttribute(Name name,
                                String value)
                         throws SOAPException
Specified by:
addAttribute in interface SOAPElement
Overrides:
addAttribute in class ElementImpl
Throws:
SOAPException

addAttribute

public SOAPElement addAttribute(QName name,
                                String value)
                         throws SOAPException
Specified by:
addAttribute in interface SOAPElement
Overrides:
addAttribute in class ElementImpl
Throws:
SOAPException

addTextNode

public SOAPElement addTextNode(String text)
                        throws SOAPException
Specified by:
addTextNode in interface SOAPElement
Overrides:
addTextNode in class ElementImpl
Throws:
SOAPException

addChildElement

public SOAPElement addChildElement(SOAPElement element)
                            throws SOAPException
Specified by:
addChildElement in interface SOAPElement
Overrides:
addChildElement in class ElementImpl
Throws:
SOAPException

isStandardFaultElement

protected boolean isStandardFaultElement(String localName)
Specified by:
isStandardFaultElement in class FaultImpl

getDefaultFaultCode

protected QName getDefaultFaultCode()
Specified by:
getDefaultFaultCode in class FaultImpl

createSOAPFaultElement

protected FaultElementImpl createSOAPFaultElement(QName qname)
Specified by:
createSOAPFaultElement in class FaultImpl

createSOAPFaultElement

protected FaultElementImpl createSOAPFaultElement(Name qname)
Specified by:
createSOAPFaultElement in class FaultImpl

setFaultActor

public void setFaultActor(String faultActor)
                   throws SOAPException
Specified by:
setFaultActor in interface SOAPFault
Specified by:
setFaultActor in class FaultImpl
Throws:
SOAPException


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.