oracle.wsdl.extension.soap
Class SOAPHeaderFault

java.lang.Object
  |
  +--oracle.wsdl.common.WSDLElementImpl
        |
        +--oracle.wsdl.extension.soap.SOAPHeaderFault
All Implemented Interfaces:
ExtensibilityElement, java.io.Serializable, WSDLElement

public class SOAPHeaderFault
extends oracle.wsdl.common.WSDLElementImpl
implements ExtensibilityElement

SOAPHeaderFault represents soap:headerFault element that appear inside soap:header and allows specification of the header types that are used to transmit error information pertaining to the header defined by the soap:header.

See Also:
Serialized Form

Constructor Summary
SOAPHeaderFault(QName message, java.lang.String part, int use)
          Initialize with message, part and use value.
 
Method Summary
TypeMethod
 java.lang.String getElementName()
          Get element name which is soap:headerfault
 SOAPEncodingStyle getEncodingStyle()
          Get encodingStyle
 QName getMessage()
          Get message
 java.lang.String getNamespaceURI()
          Get namspace URI
 java.lang.String getPart()
          Get part
 int getUse()
          Get the use value
 void serialize(java.io.PrintWriter writer, boolean indent, int indentLevel)
          Serialize this WSDL element
 void setEncodingStyle(SOAPEncodingStyle encodingStyle)
          Set encodingStyle
 void setMessage(QName message)
          Set message
 void setNamespaceURI(java.lang.String namespaceURI)
          Set namespace URI
 void setPart(java.lang.String part)
          Set part
 void setUse(int use)
          Set the use value
 
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
 
Methods inherited from interface oracle.wsdl.internal.WSDLElement
getOwnerDefinitions, getParent
 

Constructor Detail

SOAPHeaderFault

public SOAPHeaderFault(QName message,
                       java.lang.String part,
                       int use)
Initialize with message, part and use value. The message and part reference the message part that defines the header type.
Parameters:
message - the qname of message
part - the name of part of the message
use - SOAPConstants.USE_LITERAL for literal, or SOAPConstants.USE_ENCODED for encoded.
Method Detail

getElementName

public java.lang.String getElementName()
Get element name which is soap:headerfault
Specified by:
getElementName in interface ExtensibilityElement
Returns:
soap:headerfault

getMessage

public QName getMessage()
Get message
Returns:
the qname of message

setMessage

public void setMessage(QName message)
Set message
Parameters:
message - the qname of message

getPart

public java.lang.String getPart()
Get part
Returns:
the name of part

setPart

public void setPart(java.lang.String part)
Set part
Parameters:
the - name of part

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 sink
indent - indicates whether indentation will be applied to serialization
indentLevel - the levels of indentation starting from 0.


Copyright © 2001 Oracle SOAP. All Rights Reserved.