oracle.webservices.soap
Interface FaultText12
- All Superinterfaces:
- Element, Node, Node, SOAPElement, SOAPFaultElement
- public interface FaultText12
- extends SOAPFaultElement
| 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.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 |
setLocale
public void setLocale(Locale locale)
throws SOAPException
- Sets the Locale (xml:lang attribute) for the FaultText12 element
-
- Parameters:
locale - indicates language
- Throws:
SOAPException - if the locale cannot be set
getLocale
public Locale getLocale()
-
- Returns:
- the Locale for the FaultText12 element; if no Locale is set, returns null
getFaultText
public String getFaultText()
-
- Returns:
- the text within the FaultText12 element; if no text has been added, method returns null to caller.
setFaultText
public void setFaultText(String text)
throws SOAPException
- Set the text node content for the FaultText12 element.
-
- Parameters:
text - text node content
- Throws:
SOAPException - if text cannot be set