org.jvnet.wom.api
Class WSDLFault

java.lang.Object
  extended by org.jvnet.wom.api.WSDLEntity
      extended by org.jvnet.wom.api.WSDLFault
All Implemented Interfaces:
WSDLExtensible
Direct Known Subclasses:
WSDLFaultImpl

public abstract class WSDLFault
extends WSDLEntity

Abstracts wsdl:portType/wsdl:operation/wsdl:fault

Author:
Vivek Pandey

Constructor Summary
protected WSDLFault(org.xml.sax.Locator locator, javax.xml.namespace.QName name)
           
 
Method Summary
abstract  WSDLMessage getMessage()
          Gives the WSDLMessage corresponding to wsdl:fault@message This method should not be called before the entire WSDLDefinitions is built.
 
Methods inherited from class org.jvnet.wom.api.WSDLEntity
addExtension, getDocumentation, getExtension, getExtensions, getFirstExtension, getLocation, getName, getOwnerWSDLModel, getWSDLDocument, setOwnerWSDLDocument, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDLFault

protected WSDLFault(org.xml.sax.Locator locator,
                    javax.xml.namespace.QName name)
Method Detail

getMessage

public abstract WSDLMessage getMessage()
Gives the WSDLMessage corresponding to wsdl:fault@message This method should not be called before the entire WSDLDefinitions is built. Basically after the WSDLDefinitions is built all the references are resolve in a post processing phase. IOW, the WSDL extensions should not call this method.

Returns:
Always returns null when called from inside WSDL extensions.


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