org.jvnet.wom.impl
Class WSDLFaultImpl

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

public class WSDLFaultImpl
extends WSDLFault

Author:
Vivek Pandey

Constructor Summary
WSDLFaultImpl(org.xml.sax.Locator locator, javax.xml.namespace.QName name, WSDLDocumentImpl document)
           
 
Method Summary
 java.lang.String getDocumentation()
          Gives the Comment on a WSDL component.
 WSDLMessage getMessage()
          Gives the WSDLMessage corresponding to wsdl:fault@message This method should not be called before the entire WSDLDefinitions is built.
 void setDocumentation(java.lang.String doc)
           
 void setMessage(javax.xml.namespace.QName name)
           
 void setParent(WSDLOperationImpl parent)
           
<V,P> V
visit(WSDLVisitor<V,P> visitor, P param)
          WSDL visitor
 
Methods inherited from class org.jvnet.wom.api.WSDLEntity
addExtension, getExtension, getExtensions, getFirstExtension, getLocation, getName, getOwnerWSDLModel, getWSDLDocument, setOwnerWSDLDocument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDLFaultImpl

public WSDLFaultImpl(org.xml.sax.Locator locator,
                     javax.xml.namespace.QName name,
                     WSDLDocumentImpl document)
Method Detail

getMessage

public WSDLMessage getMessage()
Description copied from class: WSDLFault
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.

Specified by:
getMessage in class WSDLFault
Returns:
Always returns null when called from inside WSDL extensions.

setMessage

public void setMessage(javax.xml.namespace.QName name)

setParent

public void setParent(WSDLOperationImpl parent)

setDocumentation

public void setDocumentation(java.lang.String doc)

getDocumentation

public java.lang.String getDocumentation()
Description copied from class: WSDLEntity
Gives the Comment on a WSDL component. This is the content of <wsdl:document>

Overrides:
getDocumentation in class WSDLEntity
Returns:
"" if there is no documentation

visit

public <V,P> V visit(WSDLVisitor<V,P> visitor,
                     P param)
Description copied from class: WSDLEntity
WSDL visitor

Specified by:
visit in class WSDLEntity


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