oracle.webservices.soap
Interface Fault12
- All Superinterfaces:
- Element, Node, Node, SOAPBodyElement, SOAPElement, SOAPFault
- public interface Fault12
- extends SOAPFault
Represents a SOAP 1.2 Fault. This interface is an extension to the SAAJ 1.1 javax.xml.soap.SOAPFault.
| Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
| Methods inherited from interface javax.xml.soap.SOAPFault |
addDetail, getDetail, getFaultActor, getFaultCode, getFaultCodeAsName, getFaultString, getFaultStringLocale, setFaultActor, setFaultCode, setFaultCode, setFaultString, setFaultString |
| Methods inherited from interface javax.xml.soap.SOAPElement |
addAttribute, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, addTextNode, getAllAttributes, getAttributeValue, getChildElements, getChildElements, getElementName, getEncodingStyle, getNamespacePrefixes, getNamespaceURI, getVisibleNamespacePrefixes, removeAttribute, removeContents, removeNamespaceDeclaration, setEncodingStyle |
| Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
| Methods inherited from interface org.w3c.dom.Element |
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS |
addCode
public FaultCode12 addCode()
throws SOAPException
- Adds a FaultCode12 element to the internal structure of the Fault12 element and returns it to the caller
-
- Returns:
- the FaultCode12 element that was created within the Fault12 element
- Throws:
SOAPException - thrown if the Fault12 is unable to create a new FaultCode12
addReason
public FaultReason12 addReason()
throws SOAPException
- Adds FaultReason12 element to the internal structure of the Fault12 element and returns it to the caller
-
- Returns:
- the FaultReason12 element that was created within the Fault12 element
- Throws:
SOAPException - thrown if the Fault12 is unable to create a new FaultReason12
getCode
public FaultCode12 getCode()
-
- Returns:
- the FaultCode12 element within the Fault12 element; if no FaultCode12 element has been added, method returns null to caller.
getReason
public FaultReason12 getReason()
-
- Returns:
- the FaultReason12 element within the Fault12 element; if no FaultReason12 element has been added, method returns null to caller.