Skip navigation links

Oracle Fusion Middleware XML Security Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10680-05


oracle.security.xmlsec.soap.v12
Class SOAPFaultCode

java.lang.Object
  extended by oracle.security.xmlsec.util.XMLNode
      extended by oracle.security.xmlsec.util.XMLElement
          extended by oracle.security.xmlsec.soap.v12.SOAPFaultCode


public class SOAPFaultCode
extends XMLElement

A SOAP 1.2 Fault Code element.

Since:
2.3.0
See Also:
SOAPFault

Field Summary
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"

 

Fields inherited from class oracle.security.xmlsec.util.XMLNode
node, systemId

 

Constructor Summary
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.

 

Method Summary
 SOAPFaultSubcode getSubcode()
          Get the env:Subcode child element.
 QNameNode getValue()
          Get the Value child element's QName content.
 void setSubcode(SOAPFaultSubcode subcode)
          Set the env:Subcode child element.
 void setValue(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.

 

Methods inherited from class oracle.security.xmlsec.util.XMLElement
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, setDefaultNSPrefix

 

Methods inherited from class oracle.security.xmlsec.util.XMLNode
appendChild, 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, toStringXML

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

VersionMismatch

public static final java.lang.String VersionMismatch
SOAP Fault Code top-level QName local part "VersionMismatch"
See Also:
Constant Field Values

MustUnderstand

public static final java.lang.String MustUnderstand
SOAP Fault Code top-level QName local part "MustUnderstand"
See Also:
Constant Field Values

Sender

public static final java.lang.String Sender
SOAP Fault Code top-level QName local part "Sender"
See Also:
Constant Field Values

Receiver

public static final java.lang.String Receiver
SOAP Fault Code top-level QName local part "Receiver"
See Also:
Constant Field Values

DataEncodingUnknown

public static final java.lang.String DataEncodingUnknown
SOAP Fault Code top-level QName local part "DataEncodingUnknown"
See Also:
Constant Field Values

Constructor Detail

SOAPFaultCode

public SOAPFaultCode(org.w3c.dom.Element code)
              throws org.w3c.dom.DOMException
Create a SOAPFaultCode instance from the given env:Code element.
Parameters:
code - An env:Code element.
Throws:
org.w3c.dom.DOMException

SOAPFaultCode

public SOAPFaultCode(org.w3c.dom.Element code,
                     java.lang.String systemId)
              throws org.w3c.dom.DOMException
Create a SOAPFaultCode instance from the given env:Code element.
Parameters:
code - A env:Code element.
systemId - The URI string system ID for the SOAPFaultCode.
Throws:
org.w3c.dom.DOMException

SOAPFaultCode

public SOAPFaultCode(org.w3c.dom.Document owner)
              throws org.w3c.dom.DOMException
Creates a SOAPFault instance in the given document, but does not append the Code element to the document node.
Parameters:
owner - The Document instance to create the env:Code element.
Throws:
org.w3c.dom.DOMException

Method Detail

setValue

public void setValue(QNameNode value)
              throws org.w3c.dom.DOMException
Set the 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.
Parameters:
value - The fault code value QName.
Throws:
org.w3c.dom.DOMException

setValue

public void setValue(java.lang.String localPart,
                     java.lang.String nsPrefix)
              throws org.w3c.dom.DOMException
Set the 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.
Parameters:
localPart - The QName local part.
nsPrefix - The QName prefix part.
Throws:
org.w3c.dom.DOMException

getValue

public QNameNode getValue()
Get the Value child element's QName content.
Returns:
The fault code value QName, or null if none is present.

setSubcode

public void setSubcode(SOAPFaultSubcode subcode)
                throws org.w3c.dom.DOMException
Set the env:Subcode child element.
Parameters:
subcode - A SOAPFaultSubcode instance.
Throws:
org.w3c.dom.DOMException

getSubcode

public SOAPFaultSubcode getSubcode()
Get the env:Subcode child element.
Returns:
A SOAPFaultSubcode, or null if none is present.

Skip navigation links

Oracle Fusion Middleware XML Security Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10680-05


Copyright © 2005, 2013 , Oracle. All rights reserved.