org.apache.woden.internal.wsdl20
Class BindingFaultImpl
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.BindingFaultImpl
- All Implemented Interfaces:
- BindingFault, AttributeExtensible, ElementExtensible, PropertyExtensible, 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
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 |
BindingFaultImpl
public BindingFaultImpl()
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
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.