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.DocumentableImpl
          extended by org.apache.woden.internal.wsdl20.WSDLComponentImpl
              extended by org.apache.woden.internal.wsdl20.NestedImpl
                  extended by org.apache.woden.internal.wsdl20.BindingFaultReferenceImpl
All Implemented Interfaces:
BindingFaultReference, AttributeExtensible, ElementExtensible, PropertyExtensible, 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
 FragmentIdentifier getFragmentIdentifier()
          Returns the fragment identifier for this WSDL 2.0 component.
 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
 
Methods inherited from class org.apache.woden.internal.wsdl20.WSDLComponentImpl
containsComponent, equals, getComponentExtensionContext, getExtensionProperties, getExtensionProperties, getExtensionProperty, setComponentExtensionContext, toString
 
Methods inherited from class org.apache.woden.internal.wsdl20.DocumentableImpl
addDocumentationElement, getDocumentationElements
 
Methods inherited from class org.apache.woden.internal.wsdl20.WSDLElementImpl
addExtensionElement, addNamespace, getDeclaredNamespaces, getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, getExtensionElements, getExtensionElementsOfType, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, hasExtensionAttributesForNamespace, hasExtensionElementsForNamespace, removeExtensionElement, removeNamespace, setExtensionAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.woden.wsdl20.NestedComponent
getParent
 
Methods inherited from interface org.apache.woden.wsdl20.WSDLComponent
equals, getComponentExtensionContext, setComponentExtensionContext, toString
 
Methods inherited from interface org.apache.woden.wsdl20.extensions.PropertyExtensible
getExtensionProperties, getExtensionProperties, getExtensionProperty
 
Methods inherited from interface org.apache.woden.wsdl20.xml.DocumentableElement
addDocumentationElement, getDocumentationElements
 
Methods inherited from interface org.apache.woden.wsdl20.xml.NestedElement
getParentElement
 
Methods inherited from interface org.apache.woden.wsdl20.xml.WSDLElement
addNamespace, getDeclaredNamespaces, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, removeNamespace
 
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 an <infault> or <outfault> element of the interface operation being bound whose message label is equal to the effective message label of this binding fault reference and whose associated interface fault is identified by the ref attribute if this binding fault reference. If such an element does not exist, 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

getFragmentIdentifier

public FragmentIdentifier getFragmentIdentifier()
Description copied from interface: WSDLComponent
Returns the fragment identifier for this WSDL 2.0 component.

Specified by:
getFragmentIdentifier in interface WSDLComponent
Returns:
a FragmentIdentifier for this WSDL 2.0 component.


Copyright © 2005-2010 Apache Software Foundation. All Rights Reserved.