public class SOAPFaultCode
extends oracle.security.xmlsec.util.XMLElement
SOAPFault| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DataEncodingUnknown
SOAP Fault Code top-level QName local part "DataEncodingUnknown"
|
static java.lang.String |
MustUnderstand
SOAP Fault Code top-level QName local part "MustUnderstand"
|
static java.lang.String |
Receiver
SOAP Fault Code top-level QName local part "Receiver"
|
static java.lang.String |
Sender
SOAP Fault Code top-level QName local part "Sender"
|
static java.lang.String |
VersionMismatch
SOAP Fault Code top-level QName local part "VersionMismatch"
|
| Constructor and Description |
|---|
SOAPFaultCode(org.w3c.dom.Document owner)
Creates a
SOAPFault instance in the given document, but
does not append the Code element to the document node. |
SOAPFaultCode(org.w3c.dom.Element code)
Create a
SOAPFaultCode instance from the given env:Code element. |
SOAPFaultCode(org.w3c.dom.Element code,
java.lang.String systemId)
Create a
SOAPFaultCode instance from the given env:Code element. |
| Modifier and Type | Method and Description |
|---|---|
SOAPFaultSubcode |
getSubcode()
Get the
env:Subcode child element. |
oracle.security.xmlsec.util.QNameNode |
getValue()
Get the
Value child element's QName content. |
void |
setSubcode(SOAPFaultSubcode subcode)
Set the
env:Subcode child element. |
void |
setValue(oracle.security.xmlsec.util.QNameNode value)
Set the
Value child element's QName content. |
void |
setValue(java.lang.String localPart,
java.lang.String nsPrefix)
Set the
Value child element's QName content. |
addNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, getElement, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setDefaultNSPrefixappendChild, appendChild, appendTo, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getSystemId, hasAttributes, hasChildNodes, insertBefore, insertBefore, isSupported, normalize, removeChild, removeChild, replaceChild, replaceChild, setNodeValue, setPrefix, setSystemId, toBytesXML, toStringXMLpublic static final java.lang.String VersionMismatch
public static final java.lang.String MustUnderstand
public static final java.lang.String Sender
public static final java.lang.String Receiver
public static final java.lang.String DataEncodingUnknown
public SOAPFaultCode(org.w3c.dom.Element code)
throws org.w3c.dom.DOMException
SOAPFaultCode instance from the given env:Code element.code - An env:Code element.org.w3c.dom.DOMExceptionpublic SOAPFaultCode(org.w3c.dom.Element code,
java.lang.String systemId)
throws org.w3c.dom.DOMException
SOAPFaultCode instance from the given env:Code element.code - A env:Code element.systemId - The URI string system ID for the SOAPFaultCode.org.w3c.dom.DOMExceptionpublic SOAPFaultCode(org.w3c.dom.Document owner)
throws org.w3c.dom.DOMException
SOAPFault instance in the given document, but
does not append the Code element to the document node.owner - The Document instance to create the env:Code element.org.w3c.dom.DOMExceptionpublic void setValue(oracle.security.xmlsec.util.QNameNode value)
throws org.w3c.dom.DOMException
Value child element's QName content.
If the prefix part of the QName is not bound to the SOAP Envelope
namespace in scope, it will be bound on the created env:Value element.
If the QName has no prefix part and the SOAP Envelope namespace is not
the default namespace in scope, it will be declared as the default
namespace on the created env:Value element.value - The fault code value QName.org.w3c.dom.DOMExceptionpublic void setValue(java.lang.String localPart,
java.lang.String nsPrefix)
throws org.w3c.dom.DOMException
Value child element's QName content.
If the prefix part of the QName is not bound in scope, it will be
bound to the SOAP 1.2 namespace URI in the created env:Value element.localPart - The QName local part.nsPrefix - The QName prefix part.org.w3c.dom.DOMExceptionpublic oracle.security.xmlsec.util.QNameNode getValue()
Value child element's QName content.null if none is present.public void setSubcode(SOAPFaultSubcode subcode) throws org.w3c.dom.DOMException
env:Subcode child element.subcode - A SOAPFaultSubcode instance.org.w3c.dom.DOMExceptionpublic SOAPFaultSubcode getSubcode()
env:Subcode child element.SOAPFaultSubcode, or null if none
is present.