oracle.wsdl.extension.soap
Class  SOAPFault
java.lang.Object
  |
  +--oracle.wsdl.common.WSDLElementImpl
        |
        +--oracle.wsdl.common.NamableElement
              |
              +--oracle.wsdl.extension.soap.SOAPFault
- All Implemented Interfaces: 
 - ExtensibilityElement, Namable, java.io.Serializable, WSDLElement
 
- public class SOAPFault
- extends oracle.wsdl.common.NamableElement
- implements ExtensibilityElement
   
SOAPFault represents the soap:fault element which is used to specify the
 contents of the SOAP Fault Details element. It is patterned after the
 soap:body element.
- See Also: 
 - Serialized Form
 
| 
Constructor Summary | 
SOAPFault(java.lang.String name,
          int use)
 
          Initilize with name and use value | 
 
 
| Methods inherited from class oracle.wsdl.common.NamableElement | 
getName, setName | 
 
| Methods inherited from class oracle.wsdl.common.WSDLElementImpl | 
getChildWSDLElements, getOwnerDefinitions, getParent, setParent, validateExtensionsRecursively | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
SOAPFault
public SOAPFault(java.lang.String name,
                 int use)
- Initilize with name and use value
- Parameters:
 name - the name of fault related to the wsdl:fault
    defined for the operationuse - SOAPConstants.USE_LITERAL for literal, or SOAPConstants.USE_ENCODED for encoded
 
 
getElementName
public java.lang.String getElementName()
- Get element name which is soap:fault
- Specified by: 
 getElementName in interface ExtensibilityElement
 
- Returns:
 - soap:fault
 
 
 
getUse
public int getUse()
- Get the use value
 
- Returns:
 - SOAPConstants.USE_LITERAL for literal, or SOAPConstants.USE_ENCODED for encoded
 
 
 
setUse
public void setUse(int use)
- Set the use value
 
- Parameters:
 use - SOAPConstants.USE_LITERAL for literal, or SOAPConstants.USE_ENCODED for encoded
 
 
getEncodingStyle
public SOAPEncodingStyle getEncodingStyle()
- Get encodingStyle
 
- Returns:
 - encodingStyle that consists of a list of URIs; return null
 if not exist.
 
 
 
setEncodingStyle
public void setEncodingStyle(SOAPEncodingStyle encodingStyle)
- Set encodingStyle
 
- Parameters:
 encodingStyle - a list of URIs
 
 
getNamespaceURI
public java.lang.String getNamespaceURI()
- Get namspace URI
 
- Returns:
 - namespace URI
 
 
 
setNamespaceURI
public void setNamespaceURI(java.lang.String namespaceURI)
- Set namespace URI
 
- Parameters:
 namespaceURI - the namespace to set
 
 
serialize
public void serialize(java.io.PrintWriter writer,
                      boolean indent,
                      int indentLevel)
- Description copied from interface: 
WSDLElement 
- Serialize this WSDL element
- Specified by: 
 serialize in interface WSDLElement
 
- Following copied from interface: 
oracle.wsdl.internal.WSDLElement 
- Parameters:
 writer - a print writer as a sinkindent - indicates whether indentation will be applied to serializationindentLevel - the levels of indentation starting from 0.
 
 
Copyright © 2001 Oracle SOAP. All Rights Reserved.