com.sun.xml.ws.model.wsdl
Class WSDLFaultImpl

java.lang.Object
  extended by com.sun.xml.ws.model.wsdl.AbstractObjectImpl
      extended by com.sun.xml.ws.model.wsdl.AbstractExtensibleImpl
          extended by com.sun.xml.ws.model.wsdl.WSDLFaultImpl
All Implemented Interfaces:
WSDLExtensible, WSDLFault, WSDLObject

public final class WSDLFaultImpl
extends AbstractExtensibleImpl
implements WSDLFault


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.xml.ws.model.wsdl.AbstractExtensibleImpl
AbstractExtensibleImpl.UnknownWSDLExtension
 
Field Summary
 
Fields inherited from class com.sun.xml.ws.model.wsdl.AbstractExtensibleImpl
extensions, notUnderstoodExtensions
 
Constructor Summary
WSDLFaultImpl(javax.xml.stream.XMLStreamReader xsr, String name, QName messageName, WSDLOperationImpl operation)
           
 
Method Summary
(package private)  void freeze(WSDLModelImpl root)
           
 WSDLMessageImpl getMessage()
          Gives the WSDLMessage corresponding to wsdl:fault@message This method should not be called before the entire WSDLModel is built.
 String getName()
          Gives wsdl:fault@name value
 WSDLOperation getOperation()
          Gives the owning WSDLOperation
 QName getQName()
          Gives qualified name of the wsdl:fault 'name' attribute value.
 
Methods inherited from class com.sun.xml.ws.model.wsdl.AbstractExtensibleImpl
addExtension, addNotUnderstoodExtension, areRequiredExtensionsUnderstood, getExtension, getExtensions, getExtensions
 
Methods inherited from class com.sun.xml.ws.model.wsdl.AbstractObjectImpl
getLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLExtensible
addExtension, getExtension, getExtensions, getExtensions
 

Constructor Detail

WSDLFaultImpl

public WSDLFaultImpl(javax.xml.stream.XMLStreamReader xsr,
                     String name,
                     QName messageName,
                     WSDLOperationImpl operation)
Method Detail

getName

public String getName()
Description copied from interface: WSDLFault
Gives wsdl:fault@name value

Specified by:
getName in interface WSDLFault

getMessage

public WSDLMessageImpl getMessage()
Description copied from interface: WSDLFault
Gives the WSDLMessage corresponding to wsdl:fault@message This method should not be called before the entire WSDLModel is built. Basically after the WSDLModel 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 interface WSDLFault
Returns:
Always returns null when called from inside WSDL extensions.

getOperation

@NotNull
public WSDLOperation getOperation()
Description copied from interface: WSDLFault
Gives the owning WSDLOperation

Specified by:
getOperation in interface WSDLFault

getQName

@NotNull
public QName getQName()
Description copied from interface: WSDLFault
Gives qualified name of the wsdl:fault 'name' attribute value.

The namespace uri is determined from the enclosing wsdl:operation.

Specified by:
getQName in interface WSDLFault

freeze

void freeze(WSDLModelImpl root)