org.apache.woden.internal.wsdl20
Class BindingFaultReferenceImpl
java.lang.Object
org.apache.woden.internal.wsdl20.WSDLElementImpl
org.apache.woden.internal.wsdl20.DocumentableImpl
org.apache.woden.internal.wsdl20.WSDLComponentImpl
org.apache.woden.internal.wsdl20.NestedImpl
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
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 |
BindingFaultReferenceImpl
public BindingFaultReferenceImpl()
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.