org.apache.woden.internal.wsdl20
Class BindingFaultImpl

java.lang.Object
  extended by org.apache.woden.internal.wsdl20.WSDLElementImpl
      extended by org.apache.woden.internal.wsdl20.WSDLObjectImpl
          extended by org.apache.woden.internal.wsdl20.DocumentableImpl
              extended by org.apache.woden.internal.wsdl20.NestedImpl
                  extended by org.apache.woden.internal.wsdl20.BindingFaultImpl
All Implemented Interfaces:
BindingFault, AttributeExtensible, ElementExtensible, NestedComponent, WSDLComponent, BindingFaultElement, DocumentableElement, NestedElement, WSDLElement

public class BindingFaultImpl
extends NestedImpl
implements BindingFault, BindingFaultElement

This class represents the BindingFault component from the WSDL 2.0 Component Model and the <fault> child element of the WSDL <binding> element.

Author:
jkaputin@apache.org

Constructor Summary
BindingFaultImpl()
           
 
Method Summary
 InterfaceFault getInterfaceFault()
          Returns an InterfaceFault representing the {interface fault} property of the BindingFault component.
 InterfaceFaultElement getInterfaceFaultElement()
          Return the InterfaceFaultElement referred to by this BindingFaultElement.
 QName getRef()
          Return the name of the InterfaceFaultElement referred to by this BindingFaultElement.
 void setRef(QName qname)
          Specify the name of the InterfaceFaultElement referred to by this BindingFaultElement.
 BindingFaultElement toElement()
          Returns a WSDLElement that represents the element information item from the WSDL 2.0 infoset that maps to this WSDLComponent.
 
Methods inherited from class org.apache.woden.internal.wsdl20.NestedImpl
getParent, getParentElement, setParentElement
 
Methods inherited from class org.apache.woden.internal.wsdl20.DocumentableImpl
addDocumentationElement, getDocumentationElements
 
Methods inherited from class org.apache.woden.internal.wsdl20.WSDLObjectImpl
containsComponent, equals, getComponentExtensionsForNamespace, setComponentExtensions
 
Methods inherited from class org.apache.woden.internal.wsdl20.WSDLElementImpl
addExtensionElement, getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, getExtensionElements, getExtensionElementsOfType, hasExtensionAttributesForNamespace, hasExtensionElementsForNamespace, removeExtensionElement, setExtensionAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.woden.wsdl20.NestedComponent
getParent
 
Methods inherited from interface org.apache.woden.wsdl20.WSDLComponent
equals, getComponentExtensionsForNamespace
 
Methods inherited from interface org.apache.woden.wsdl20.xml.DocumentableElement
addDocumentationElement, getDocumentationElements
 
Methods inherited from interface org.apache.woden.wsdl20.xml.NestedElement
getParentElement, setParentElement
 
Methods inherited from interface org.apache.woden.wsdl20.extensions.AttributeExtensible
getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, hasExtensionAttributesForNamespace, setExtensionAttribute
 
Methods inherited from interface org.apache.woden.wsdl20.extensions.ElementExtensible
addExtensionElement, getExtensionElements, getExtensionElementsOfType, hasExtensionElementsForNamespace, removeExtensionElement
 

Constructor Detail

BindingFaultImpl

public BindingFaultImpl()
Method Detail

getInterfaceFault

public InterfaceFault getInterfaceFault()
Description copied from interface: BindingFault
Returns an InterfaceFault representing the {interface fault} property of the BindingFault component. That is, the interface fault that this binding fault provides concrete bindings for.

Specified by:
getInterfaceFault in interface BindingFault
Returns:
an InterfaceFault bound by this BindingFault

toElement

public BindingFaultElement toElement()
Description copied from interface: BindingFault
Returns a WSDLElement that represents the element information item from the WSDL 2.0 infoset that maps to this WSDLComponent.

Specified by:
toElement in interface BindingFault
Returns:
the BindingFaultElement that maps to this BindingFault

setRef

public void setRef(QName qname)
Description copied from interface: BindingFaultElement
Specify the name of the InterfaceFaultElement referred to by this BindingFaultElement. The specified QName corresponds to the ref attribute of the binding <fault> element.

Specified by:
setRef in interface BindingFaultElement
Parameters:
qname - the QName of the interface fault

getRef

public QName getRef()
Description copied from interface: BindingFaultElement
Return the name of the InterfaceFaultElement referred to by this BindingFaultElement. This corresponds to the ref attribute of the binding <fault> element.

Specified by:
getRef in interface BindingFaultElement
Returns:
the QName of the interface fault

getInterfaceFaultElement

public InterfaceFaultElement getInterfaceFaultElement()
Description copied from interface: BindingFaultElement
Return the InterfaceFaultElement referred to by this BindingFaultElement. This equates to the interface <fault> element referred to by the ref attribute of the binding <fault> element. If this reference cannot be resolved to an InterfaceFaultElement, this method will return null.

Specified by:
getInterfaceFaultElement in interface BindingFaultElement
Returns:
the InterfaceFaultElement


Copyright © 2007. All Rights Reserved.