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:
java.io.Serializable, java.lang.Cloneable, javax.xml.soap.SOAPBodyElement, javax.xml.soap.SOAPElement, javax.xml.soap.SOAPFault, org.w3c.dom.Element, org.w3c.dom.events.EventTarget, org.w3c.dom.Node, org.w3c.dom.NodeList, org.w3c.dom.TypeInfo

public class Fault1_2Impl
extends FaultImpl

See Also:
Serialized Form

Field Summary
protected static java.util.logging.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, java.lang.String prefix)
           
Fault1_2Impl(SOAPDocumentImpl ownerDoc, java.lang.String name, java.lang.String prefix)
           
 
Method Summary
 javax.xml.soap.SOAPElement addAttribute(javax.xml.soap.Name name, java.lang.String value)
           
 javax.xml.soap.SOAPElement addAttribute(javax.xml.namespace.QName name, java.lang.String value)
           
 javax.xml.soap.SOAPElement addChildElement(javax.xml.soap.SOAPElement element)
           
 void addFaultReasonText(java.lang.String text, java.util.Locale locale)
           
 javax.xml.soap.SOAPElement addTextNode(java.lang.String text)
           
 void appendFaultSubcode(javax.xml.namespace.QName subcode)
           
protected  void checkIfStandardFaultCode(java.lang.String faultCode, java.lang.String uri)
           
protected  DetailImpl createDetail()
           
protected  FaultElementImpl createSOAPFaultElement(javax.xml.soap.Name qname)
           
protected  FaultElementImpl createSOAPFaultElement(javax.xml.namespace.QName qname)
           
protected  FaultElementImpl createSOAPFaultElement(java.lang.String localName)
           
protected  void finallySetFaultCode(java.lang.String faultcode)
           
protected  javax.xml.namespace.QName getDefaultFaultCode()
           
protected  NameImpl getDetailName()
           
protected  NameImpl getFaultActorName()
           
 java.lang.String getFaultCode()
           
 javax.xml.soap.Name getFaultCodeAsName()
           
 javax.xml.namespace.QName getFaultCodeAsQName()
           
protected  NameImpl getFaultCodeName()
           
 java.lang.String getFaultNode()
           
 java.util.Iterator getFaultReasonLocales()
           
 java.lang.String getFaultReasonText(java.util.Locale locale)
           
 java.util.Iterator getFaultReasonTexts()
           
 java.lang.String getFaultRole()
           
 java.lang.String getFaultString()
           
 java.util.Locale getFaultStringLocale()
           
protected  NameImpl getFaultStringName()
           
 java.util.Iterator getFaultSubcodes()
           
protected  boolean isStandardFaultElement(java.lang.String localName)
           
 void removeAllFaultSubcodes()
           
 void setEncodingStyle(java.lang.String encodingStyle)
           
 void setFaultActor(java.lang.String faultActor)
           
 void setFaultNode(java.lang.String uri)
           
 void setFaultRole(java.lang.String uri)
           
 void setFaultString(java.lang.String faultString)
           
 void setFaultString(java.lang.String faultString, java.util.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, 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 java.util.logging.Logger log
Constructor Detail

Fault1_2Impl

public Fault1_2Impl(SOAPDocumentImpl ownerDoc,
                    java.lang.String name,
                    java.lang.String prefix)

Fault1_2Impl

public Fault1_2Impl(SOAPDocumentImpl ownerDocument,
                    java.lang.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(java.lang.String localName)
Specified by:
createSOAPFaultElement in class FaultImpl

checkIfStandardFaultCode

protected void checkIfStandardFaultCode(java.lang.String faultCode,
                                        java.lang.String uri)
                                 throws javax.xml.soap.SOAPException
Specified by:
checkIfStandardFaultCode in class FaultImpl
Throws:
javax.xml.soap.SOAPException

finallySetFaultCode

protected void finallySetFaultCode(java.lang.String faultcode)
                            throws javax.xml.soap.SOAPException
Specified by:
finallySetFaultCode in class FaultImpl
Throws:
javax.xml.soap.SOAPException

getFaultReasonTexts

public java.util.Iterator getFaultReasonTexts()
                                       throws javax.xml.soap.SOAPException
Throws:
javax.xml.soap.SOAPException

addFaultReasonText

public void addFaultReasonText(java.lang.String text,
                               java.util.Locale locale)
                        throws javax.xml.soap.SOAPException
Throws:
javax.xml.soap.SOAPException

getFaultReasonText

public java.lang.String getFaultReasonText(java.util.Locale locale)
                                    throws javax.xml.soap.SOAPException
Throws:
javax.xml.soap.SOAPException

getFaultReasonLocales

public java.util.Iterator getFaultReasonLocales()
                                         throws javax.xml.soap.SOAPException
Throws:
javax.xml.soap.SOAPException

getFaultStringLocale

public java.util.Locale getFaultStringLocale()

getFaultNode

public java.lang.String getFaultNode()

setFaultNode

public void setFaultNode(java.lang.String uri)
                  throws javax.xml.soap.SOAPException
Throws:
javax.xml.soap.SOAPException

getFaultRole

public java.lang.String getFaultRole()

setFaultRole

public void setFaultRole(java.lang.String uri)
                  throws javax.xml.soap.SOAPException
Throws:
javax.xml.soap.SOAPException

getFaultCode

public java.lang.String getFaultCode()

getFaultCodeAsQName

public javax.xml.namespace.QName getFaultCodeAsQName()

getFaultCodeAsName

public javax.xml.soap.Name getFaultCodeAsName()

getFaultString

public java.lang.String getFaultString()

setFaultString

public void setFaultString(java.lang.String faultString)
                    throws javax.xml.soap.SOAPException
Throws:
javax.xml.soap.SOAPException

setFaultString

public void setFaultString(java.lang.String faultString,
                           java.util.Locale locale)
                    throws javax.xml.soap.SOAPException
Throws:
javax.xml.soap.SOAPException

appendFaultSubcode

public void appendFaultSubcode(javax.xml.namespace.QName subcode)
                        throws javax.xml.soap.SOAPException
Throws:
javax.xml.soap.SOAPException

removeAllFaultSubcodes

public void removeAllFaultSubcodes()

getFaultSubcodes

public java.util.Iterator getFaultSubcodes()

setEncodingStyle

public void setEncodingStyle(java.lang.String encodingStyle)
                      throws javax.xml.soap.SOAPException
Specified by:
setEncodingStyle in interface javax.xml.soap.SOAPElement
Overrides:
setEncodingStyle in class ElementImpl
Throws:
javax.xml.soap.SOAPException

addAttribute

public javax.xml.soap.SOAPElement addAttribute(javax.xml.soap.Name name,
                                               java.lang.String value)
                                        throws javax.xml.soap.SOAPException
Specified by:
addAttribute in interface javax.xml.soap.SOAPElement
Overrides:
addAttribute in class ElementImpl
Throws:
javax.xml.soap.SOAPException

addAttribute

public javax.xml.soap.SOAPElement addAttribute(javax.xml.namespace.QName name,
                                               java.lang.String value)
                                        throws javax.xml.soap.SOAPException
Specified by:
addAttribute in interface javax.xml.soap.SOAPElement
Overrides:
addAttribute in class ElementImpl
Throws:
javax.xml.soap.SOAPException

addTextNode

public javax.xml.soap.SOAPElement addTextNode(java.lang.String text)
                                       throws javax.xml.soap.SOAPException
Specified by:
addTextNode in interface javax.xml.soap.SOAPElement
Overrides:
addTextNode in class ElementImpl
Throws:
javax.xml.soap.SOAPException

addChildElement

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

isStandardFaultElement

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

getDefaultFaultCode

protected javax.xml.namespace.QName getDefaultFaultCode()
Specified by:
getDefaultFaultCode in class FaultImpl

createSOAPFaultElement

protected FaultElementImpl createSOAPFaultElement(javax.xml.namespace.QName qname)
Specified by:
createSOAPFaultElement in class FaultImpl

createSOAPFaultElement

protected FaultElementImpl createSOAPFaultElement(javax.xml.soap.Name qname)
Specified by:
createSOAPFaultElement in class FaultImpl

setFaultActor

public void setFaultActor(java.lang.String faultActor)
                   throws javax.xml.soap.SOAPException
Specified by:
setFaultActor in interface javax.xml.soap.SOAPFault
Specified by:
setFaultActor in class FaultImpl
Throws:
javax.xml.soap.SOAPException


Copyright © 2011 Oracle. All Rights Reserved.