org.apache.woden.internal.wsdl20
Class BindingFaultReferenceImpl

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.BindingFaultReferenceImpl
All Implemented Interfaces:
BindingFaultReference, AttributeExtensible, ElementExtensible, NestedComponent, WSDLComponent, BindingFaultReferenceElement, DocumentableElement, NestedElement, WSDLElement

public class BindingFaultReferenceImpl
extends NestedImpl
implements BindingFaultReference, BindingFaultReferenceElement

This class represents the BindingFaultReference component of the WSDL 2.0 Component model and the <infault> or <outfault> child element of a WSDL binding <operation>.

Author:
jkaputin@apache.org

Constructor Summary
BindingFaultReferenceImpl()
           
 
Method Summary
 InterfaceFaultReference getInterfaceFaultReference()
          Returns an InterfaceFaultReference representing the {interface fault reference} property of the BindingFaultReference component.
 InterfaceFaultReferenceElement getInterfaceFaultReferenceElement()
          Return the InterfaceFaultReferenceElement referred to by this BindingFaultReferenceElement.
 NCName getMessageLabel()
          Return the NCName representing the message label.
 QName getRef()
          Return the name of the InterfaceFaultReferenceElement referred to by this BindingFaultReferenceElement.
 void setMessageLabel(NCName msgLabel)
          Set the message label to the specified NCName.
 void setRef(QName qname)
          Specify the name of the InterfaceFaultReferenceElement referred to by this BindingFaultReferenceElement.
 BindingFaultReferenceElement 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

BindingFaultReferenceImpl

public BindingFaultReferenceImpl()
Method Detail

getInterfaceFaultReference

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

Specified by:
getInterfaceFaultReference in interface BindingFaultReference
Returns:
an InterfaceFaultReference bound by this BindingFaultReference

toElement

public BindingFaultReferenceElement toElement()
Description copied from interface: BindingFaultReference
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 BindingFaultReference
Returns:
the BindingFaultReferenceElement that maps to this BindingFaultReference

setRef

public void setRef(QName qname)
Description copied from interface: BindingFaultReferenceElement
Specify the name of the InterfaceFaultReferenceElement referred to by this BindingFaultReferenceElement. The specified QName corresponds to the ref attribute of the binding operation <infault> or <outfault> element.

Specified by:
setRef in interface BindingFaultReferenceElement
Parameters:
qname - the QName of the interface fault reference.

getRef

public QName getRef()
Description copied from interface: BindingFaultReferenceElement
Return the name of the InterfaceFaultReferenceElement referred to by this BindingFaultReferenceElement. This corresponds to the ref attribute of the binding operation <infault> or <outfault> element.

Specified by:
getRef in interface BindingFaultReferenceElement
Returns:
the QName of the interface fault reference

getInterfaceFaultReferenceElement

public InterfaceFaultReferenceElement getInterfaceFaultReferenceElement()
Description copied from interface: BindingFaultReferenceElement
Return the InterfaceFaultReferenceElement referred to by this BindingFaultReferenceElement. This equates to the interface operation <infault> or <outfault> element referred to by the ref attribute of the binding operation <infault> or <outfault> element. If this reference cannot be resolved to an InterfaceFaultReferenceElement, this method will return null.

Specified by:
getInterfaceFaultReferenceElement in interface BindingFaultReferenceElement
Returns:
the InterfaceFaultReferenceElement

setMessageLabel

public void setMessageLabel(NCName msgLabel)
Description copied from interface: BindingFaultReferenceElement
Set the message label to the specified NCName. This corresponds to a placeholder message in the message exchange pattern specified by the parent binding <operation> element.

Specified by:
setMessageLabel in interface BindingFaultReferenceElement
Parameters:
msgLabel - the NCName representing the message label

getMessageLabel

public NCName getMessageLabel()
Description copied from interface: BindingFaultReferenceElement
Return the NCName representing the message label. This corresponds to a placeholder message in the message exchange pattern specified by the parent binding <operation> element.

Specified by:
getMessageLabel in interface BindingFaultReferenceElement
Returns:
NCName the message label


Copyright © 2007. All Rights Reserved.