API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.soap. SOAPFault View Source
Author(s)
Since
Version
Serial
Hierarchy
 Node
      Node
          SOAPElement
              SOAPBodyElement
                  SOAPFault
Subinterfaces
Description
public interface SOAPFault
  An element in the SOAPBody object that contains error and/or status information.
See also:   
Methods
Hide/Show inherited methods
public Detail addDetail () throws SOAPException
  Creates an optional Detail object and sets it as the Detail object for this SOAPFault object.
public void addFaultReasonText (String text, Locale locale) throws SOAPException
  Appends or replaces a Reason Text item containing the specified text message and an xml:lang derived from locale.
public void appendFaultSubcode (QName subcode) throws SOAPException
  Adds a Subcode to the end of the sequence of Subcodes contained by this SOAPFault.
public Detail getDetail ()
  Returns the optional detail element for this SOAPFault object.
public String getFaultActor ()
  Gets the fault actor for this SOAPFault object.
public String getFaultCode ()
  Gets the fault code for this SOAPFault object.
public Name getFaultCodeAsName ()
  Gets the mandatory SOAP 1.1 fault code for this SOAPFault object as a SAAJ Name object.
public QName getFaultCodeAsQName ()
  Gets the fault code for this SOAPFault object as a QName object.
public String getFaultNode ()
  Returns the optional Node element value for this SOAPFault object.
public Iterator getFaultReasonLocales () throws SOAPException
  Returns an Iterator over a distinct sequence of Locales for which there are associated Reason Text items.
public String getFaultReasonText (Locale locale) throws SOAPException
  Returns the Reason Text associated with the given Locale.
public Iterator getFaultReasonTexts () throws SOAPException
  Returns an Iterator over a sequence of String objects containing all of the Reason Text items for this SOAPFault.
public String getFaultRole ()
  Returns the optional Role element value for this SOAPFault object.
public String getFaultString ()
  Gets the fault string for this SOAPFault object.
public Locale getFaultStringLocale ()
  Gets the locale of the fault string for this SOAPFault object.
public Iterator getFaultSubcodes ()
  Gets the Subcodes for this SOAPFault as an iterator over QNames.
public boolean hasDetail ()
  Returns true if this SOAPFault has a Detail subelement and false otherwise.
public void removeAllFaultSubcodes ()
  Removes any Subcodes that may be contained by this SOAPFault.
public void setFaultActor (String faultActor) throws SOAPException
  Sets this SOAPFault object with the given fault actor.
public void setFaultCode (Name faultCodeQName) throws SOAPException
  Sets this SOAPFault object with the given fault code.
public void setFaultCode (QName faultCodeQName) throws SOAPException
  Sets this SOAPFault object with the given fault code.
public void setFaultCode (String faultCode) throws SOAPException
  Sets this SOAPFault object with the give fault code.
public void setFaultNode (String uri) throws SOAPException
  Creates or replaces any existing Node element value for this SOAPFault object.
public void setFaultRole (String uri) throws SOAPException
  Creates or replaces any existing Role element value for this SOAPFault object.
public void setFaultString (String faultString) throws SOAPException
  Sets the fault string for this SOAPFault object to the given string.
public void setFaultString (String faultString, Locale locale) throws SOAPException
  Sets the fault string for this SOAPFault object to the given string and localized to the given locale.
Fields
Hide/Show inherited fields
publicfinalstatic short ATTRIBUTE_NODE = "2" [Inherited From SOAPBodyElement]
The node is an Attr.
publicfinalstatic short ATTRIBUTE_NODE = "2" [Inherited From SOAPBodyElement]
The node is an Attr.
publicfinalstatic short CDATA_SECTION_NODE = "4" [Inherited From SOAPBodyElement]
The node is a CDATASection.
publicfinalstatic short CDATA_SECTION_NODE = "4" [Inherited From SOAPBodyElement]
The node is a CDATASection.
publicfinalstatic short COMMENT_NODE = "8" [Inherited From SOAPBodyElement]
The node is a Comment.
publicfinalstatic short COMMENT_NODE = "8" [Inherited From SOAPBodyElement]
The node is a Comment.
publicfinalstatic short DOCUMENT_FRAGMENT_NODE = "11" [Inherited From SOAPBodyElement]
The node is a DocumentFragment.
publicfinalstatic short DOCUMENT_FRAGMENT_NODE = "11" [Inherited From SOAPBodyElement]
The node is a DocumentFragment.
publicfinalstatic short DOCUMENT_NODE = "9" [Inherited From SOAPBodyElement]
The node is a Document.
publicfinalstatic short DOCUMENT_NODE = "9" [Inherited From SOAPBodyElement]
The node is a Document.
publicfinalstatic short DOCUMENT_POSITION_CONTAINED_BY = "16" [Inherited From SOAPBodyElement]
  The node is contained by the reference node.
publicfinalstatic short DOCUMENT_POSITION_CONTAINED_BY = "16" [Inherited From SOAPBodyElement]
  The node is contained by the reference node.
publicfinalstatic short DOCUMENT_POSITION_CONTAINS = "8" [Inherited From SOAPBodyElement]
  The node contains the reference node.
publicfinalstatic short DOCUMENT_POSITION_CONTAINS = "8" [Inherited From SOAPBodyElement]
  The node contains the reference node.
publicfinalstatic short DOCUMENT_POSITION_DISCONNECTED = "1" [Inherited From SOAPBodyElement]
  The two nodes are disconnected.
publicfinalstatic short DOCUMENT_POSITION_DISCONNECTED = "1" [Inherited From SOAPBodyElement]
  The two nodes are disconnected.
publicfinalstatic short DOCUMENT_POSITION_FOLLOWING = "4" [Inherited From SOAPBodyElement]
The node follows the reference node.
publicfinalstatic short DOCUMENT_POSITION_FOLLOWING = "4" [Inherited From SOAPBodyElement]
The node follows the reference node.
publicfinalstatic short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = "32" [Inherited From SOAPBodyElement]
The determination of preceding versus following is implementation-specific.
publicfinalstatic short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = "32" [Inherited From SOAPBodyElement]
The determination of preceding versus following is implementation-specific.
publicfinalstatic short DOCUMENT_POSITION_PRECEDING = "2" [Inherited From SOAPBodyElement]
The second node precedes the reference node.
publicfinalstatic short DOCUMENT_POSITION_PRECEDING = "2" [Inherited From SOAPBodyElement]
The second node precedes the reference node.
publicfinalstatic short DOCUMENT_TYPE_NODE = "10" [Inherited From SOAPBodyElement]
The node is a DocumentType.
publicfinalstatic short DOCUMENT_TYPE_NODE = "10" [Inherited From SOAPBodyElement]
The node is a DocumentType.
publicfinalstatic short ELEMENT_NODE = "1" [Inherited From SOAPBodyElement]
The node is an Element.
publicfinalstatic short ELEMENT_NODE = "1" [Inherited From SOAPBodyElement]
The node is an Element.
publicfinalstatic short ENTITY_NODE = "6" [Inherited From SOAPBodyElement]
The node is an Entity.
publicfinalstatic short ENTITY_NODE = "6" [Inherited From SOAPBodyElement]
The node is an Entity.
publicfinalstatic short ENTITY_REFERENCE_NODE = "5" [Inherited From SOAPBodyElement]
The node is an EntityReference.
publicfinalstatic short ENTITY_REFERENCE_NODE = "5" [Inherited From SOAPBodyElement]
The node is an EntityReference.
publicfinalstatic short NOTATION_NODE = "12" [Inherited From SOAPBodyElement]
The node is a Notation.
publicfinalstatic short NOTATION_NODE = "12" [Inherited From SOAPBodyElement]
The node is a Notation.
publicfinalstatic short PROCESSING_INSTRUCTION_NODE = "7" [Inherited From SOAPBodyElement]
The node is a ProcessingInstruction.
publicfinalstatic short PROCESSING_INSTRUCTION_NODE = "7" [Inherited From SOAPBodyElement]
The node is a ProcessingInstruction.
publicfinalstatic short TEXT_NODE = "3" [Inherited From SOAPBodyElement]
The node is a Text node.
publicfinalstatic short TEXT_NODE = "3" [Inherited From SOAPBodyElement]
The node is a Text node.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar