org.apache.woden.internal.wsdl20
Class BindingFaultImpl
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.BindingFaultImpl
- All Implemented Interfaces:
- AttributeExtensible, BindingFault, BindingFaultElement, DocumentableElement, ElementExtensible, NestedComponent, NestedElement, WSDLComponent, 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
Method Summary |
InterfaceFault |
getInterfaceFault()
Returns an InterfaceFault representing the {interface fault} property of the
BindingFault component. |
InterfaceFaultElement |
getInterfaceFaultElement()
Return the InterfaceFaultElement referred to by this BindingFaultElement. |
QName |
getRef()
Return the name of the InterfaceFaultElement referred to by this BindingFaultElement. |
void |
setRef(QName qname)
Specify the name of the InterfaceFaultElement referred to by this BindingFaultElement. |
BindingFaultElement |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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
Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.