org.apache.woden.internal.wsdl20
Class BindingFaultReferenceImpl
java.lang.Object
org.apache.woden.internal.wsdl20.WSDLElementImpl
org.apache.woden.internal.wsdl20.WSDLObjectImpl
org.apache.woden.internal.wsdl20.DocumentableImpl
org.apache.woden.internal.wsdl20.NestedImpl
org.apache.woden.internal.wsdl20.BindingFaultReferenceImpl
- All Implemented Interfaces:
- AttributeExtensible, BindingFaultReference, BindingFaultReferenceElement, DocumentableElement, ElementExtensible, NestedComponent, NestedElement, WSDLComponent, 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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 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 © 2005-2007 Apache Software Foundation. All Rights Reserved.