org.jvnet.wom.impl.extension.wsdl11.soap
Class SOAPFaultImpl

java.lang.Object
  extended by org.jvnet.wom.impl.extension.wsdl11.soap.SOAPFaultImpl
All Implemented Interfaces:
SOAPFault, WSDLExtension

public class SOAPFaultImpl
extends java.lang.Object
implements SOAPFault

Author:
Vivek Pandey

Constructor Summary
SOAPFaultImpl(javax.xml.namespace.QName extName)
           
 
Method Summary
 java.lang.String[] getEncodingStyle()
          Maybe null.
 java.lang.String getFaultName()
          <wsdl:fault@name value.
 javax.xml.namespace.QName getName()
          Gets the qualified name of the WSDL extensibility element or attribute.
 java.lang.String getNamespace()
          null when SOAPBinding.Style is Document, otherwise will be non-null.
 SOAPBody.Use getUse()
          If not specified on <soap:body> the default value is literal.
 void setEncodingStyle(java.lang.String[] encodingStyle)
           
 void setName(java.lang.String name)
           
 void setNamespace(java.lang.String namespace)
           
 void setUse(SOAPBody.Use use)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SOAPFaultImpl

public SOAPFaultImpl(javax.xml.namespace.QName extName)
Method Detail

setEncodingStyle

public void setEncodingStyle(java.lang.String[] encodingStyle)

setNamespace

public void setNamespace(java.lang.String namespace)

setUse

public void setUse(SOAPBody.Use use)

setName

public void setName(java.lang.String name)

getEncodingStyle

public java.lang.String[] getEncodingStyle()
Description copied from interface: SOAPFault
Maybe null. It is supposed to be non-null only for the encoded case.

Specified by:
getEncodingStyle in interface SOAPFault

getNamespace

public java.lang.String getNamespace()
Description copied from interface: SOAPFault
null when SOAPBinding.Style is Document, otherwise will be non-null.

Specified by:
getNamespace in interface SOAPFault

getUse

public SOAPBody.Use getUse()
Description copied from interface: SOAPFault
If not specified on <soap:body> the default value is literal.

Specified by:
getUse in interface SOAPFault

getFaultName

public java.lang.String getFaultName()
Description copied from interface: SOAPFault
<wsdl:fault@name value.

Specified by:
getFaultName in interface SOAPFault
Returns:
May be null

getName

public javax.xml.namespace.QName getName()
Description copied from interface: WSDLExtension
Gets the qualified name of the WSDL extensibility element or attribute.

Specified by:
getName in interface WSDLExtension
Returns:
must not be null.


Copyright © 2009 Sun Microsystems, Inc. All Rights Reserved.