|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.woden.internal.wsdl20.WSDLElementImpl
org.apache.woden.internal.wsdl20.DocumentableImpl
org.apache.woden.internal.wsdl20.WSDLComponentImpl
org.apache.woden.internal.wsdl20.InterfaceImpl
public class InterfaceImpl
This class represents the Interface component from the WSDL 2.0 Component Model and <interface> element.
| Constructor Summary | |
|---|---|
InterfaceImpl()
|
|
| Method Summary | |
|---|---|
void |
addExtendedInterfaceName(QName interfaceName)
Add the named InterfaceElement to the set of InterfaceElements that this InterfaceElement extends. |
InterfaceFaultElement |
addInterfaceFaultElement()
Create an InterfaceFaultElement with this InterfaceElement as its parent and return a reference to it. |
InterfaceOperationElement |
addInterfaceOperationElement()
Create an InterfaceOperationElement with this InterfaceElement as its parent and return a reference to it. |
void |
addStyleDefaultURI(java.net.URI uri)
Add the specified URI to the set of default operation style URIs. |
boolean |
equals(WSDLComponent comp)
Tests whether this component is logically equivalent the specified component. |
InterfaceFault[] |
getAllInterfaceFaults()
Returns the set of all InterfaceFault components available to this Interface, which includes those declared by this Interface and those defined by any Interfaces it extends, directly or indirectly. |
InterfaceOperation[] |
getAllInterfaceOperations()
Returns the set of all InterfaceOperation components available to this Interface, which includes those declared by this Interface and those defined by the Interfaces it extends, directly or indirectly. |
Interface |
getExtendedInterface(QName qname)
Return the named Interface from the {extended interfaces} property of this Interface. |
InterfaceElement |
getExtendedInterfaceElement(QName interfaceName)
Return the named InterfaceElement from the set of IntefaceElements extended by this InterfaceElement. |
InterfaceElement[] |
getExtendedInterfaceElements()
Return the set of InterfaceElements extended by this InterfaceElement. |
QName[] |
getExtendedInterfaceNames()
Return the qualified names of the InterfaceElements that this InterfaceElement extends. |
Interface[] |
getExtendedInterfaces()
Represents the {extended interfaces} property of the Interface component. |
FragmentIdentifier |
getFragmentIdentifier()
Returns the fragment identifier for this WSDL 2.0 component. |
InterfaceFault |
getFromAllInterfaceFaults(QName faultName)
Returns the InterfaceFault with the specified name from the set of all InterfaceFaults available to this Interface, which includes those declared by this Interface and those defined by any Interfaces it extends, directly or indirectly. |
InterfaceOperation |
getFromAllInterfaceOperations(QName operName)
Returns the InterfaceOperation with the specified name from the set of all InterfaceOperations available to this Interface, which includes those declared by this Interface and those defined by any Interfaces it extends, directly or indirectly. |
InterfaceFault |
getInterfaceFault(QName faultName)
Returns the InterfaceFault with the specified name from the {interface faults} property of this Interface. |
InterfaceFaultElement |
getInterfaceFaultElement(QName faultName)
Return the named InterfaceFaultElement from the set of InterfaceFaultElements defined directly within this InterfaceElement. |
InterfaceFaultElement[] |
getInterfaceFaultElements()
Return the set of InterfaceFaultElements defined directly within this InterfaceElement. |
InterfaceFault[] |
getInterfaceFaults()
Represents the {interface faults} property of the Interface component. |
InterfaceOperation |
getInterfaceOperation(QName operName)
Returns the InterfaceOperation with the specified name from the {interface operations} property of this Interface. |
InterfaceOperationElement |
getInterfaceOperationElement(QName operName)
Return the named InterfaceOperationElement from the set of InterfaceOperationElements defined directly within this InterfaceElement. |
InterfaceOperationElement[] |
getInterfaceOperationElements()
Return the set of InterfaceOperationElements defined directly within this InterfaceElement. |
InterfaceOperation[] |
getInterfaceOperations()
Represents the {interface operations} property of the Interface component. |
QName |
getName()
Returns the qualified name representing the {name} property of this Interface. |
WSDLElement |
getParentElement()
|
java.net.URI[] |
getStyleDefault()
Return the set of URIs representing the default operation style. |
void |
removeExtendedInterfaceName(QName interfaceName)
Remove the named InterfaceElement from the set of InterfaceElements that this InterfaceElement extends. |
void |
setName(NCName name)
Set the name of this InterfaceElement to the specified NCName. |
InterfaceElement |
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.WSDLComponentImpl |
|---|
containsComponent, 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.WSDLComponent |
|---|
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.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 |
| 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 |
|---|
public InterfaceImpl()
| Method Detail |
|---|
public QName getName()
Interface
getName in interface InterfacegetName in interface InterfaceElementpublic Interface getExtendedInterface(QName qname)
Interface
getExtendedInterface in interface Interfaceqname - the qualified name of the required Interface
public Interface[] getExtendedInterfaces()
Interface
getExtendedInterfaces in interface Interfacepublic InterfaceFault[] getInterfaceFaults()
Interface
getInterfaceFaults in interface Interfacepublic InterfaceFault getInterfaceFault(QName faultName)
Interface
getInterfaceFault in interface InterfacefaultName - the qualified name of the InterfaceFault
public InterfaceFault[] getAllInterfaceFaults()
Interface
getAllInterfaceFaults in interface Interfacepublic InterfaceFault getFromAllInterfaceFaults(QName faultName)
Interface
getFromAllInterfaceFaults in interface InterfacefaultName - the qualified name of the InterfaceFault
public InterfaceOperation[] getInterfaceOperations()
Interface
getInterfaceOperations in interface Interfacepublic InterfaceOperation getInterfaceOperation(QName operName)
Interface
getInterfaceOperation in interface InterfaceoperName - the qualified name of the required InterfaceOperation
public InterfaceOperation[] getAllInterfaceOperations()
Interface
getAllInterfaceOperations in interface Interfacepublic InterfaceOperation getFromAllInterfaceOperations(QName operName)
Interface
getFromAllInterfaceOperations in interface InterfaceoperName - the qualified name of the InterfaceOperation
public InterfaceElement toElement()
Interface
toElement in interface Interfacepublic boolean equals(WSDLComponent comp)
WSDLComponent
equals in interface WSDLComponentequals in class WSDLComponentImplcomp - the WSDL component that this component will be compared to
public void setName(NCName name)
InterfaceElementname attribute of the <interface> element.
setName in interface InterfaceElementname - the NCName that represents the local name of this interfacepublic void addStyleDefaultURI(java.net.URI uri)
InterfaceElementstyleDefault attribute
of the <interface> element.
If a null style URI is specified, no action is performed.
addStyleDefaultURI in interface InterfaceElementuri - a URI representing an operation stylepublic java.net.URI[] getStyleDefault()
InterfaceElementstyleDefault attribute
of the <interface> element.
If no style default URIs exist, an empty array is returned.
getStyleDefault in interface InterfaceElementpublic void addExtendedInterfaceName(QName interfaceName)
InterfaceElementextends attribute
of the <interface> element.
If a null interface name is specified, no action is performed.
addExtendedInterfaceName in interface InterfaceElementinterfaceName - the QName of an extended interfacepublic void removeExtendedInterfaceName(QName interfaceName)
InterfaceElementextends
attribute of the <interface> element.
If the named InterfaceElement is not extended by this InterfaceElement or if a null
interface name is specified, no action is performed.
removeExtendedInterfaceName in interface InterfaceElementinterfaceName - the QName of an extended interfacepublic QName[] getExtendedInterfaceNames()
InterfaceElementextends attribute
of the <interface> element.
If no extended interfaces exist, an empty array is returned.
getExtendedInterfaceNames in interface InterfaceElementpublic InterfaceElement getExtendedInterfaceElement(QName interfaceName)
InterfaceElementextends attribute of the <interface> element.
If the named InterfaceElement is not extended by this InterfaceElement or if a null
interface name is specified, this method will return null.
getExtendedInterfaceElement in interface InterfaceElementinterfaceName - the QName of an extended interface
public InterfaceElement[] getExtendedInterfaceElements()
InterfaceElementextends attribute
of the <interface> element.
If no extended interfaces exist, an empty array is returned.
getExtendedInterfaceElements in interface InterfaceElementpublic InterfaceFaultElement addInterfaceFaultElement()
InterfaceElement
addInterfaceFaultElement in interface InterfaceElementpublic InterfaceFaultElement getInterfaceFaultElement(QName faultName)
InterfaceElement
getInterfaceFaultElement in interface InterfaceElementfaultName - the QName of the required InterfaceFaultElement
public InterfaceFaultElement[] getInterfaceFaultElements()
InterfaceElement
getInterfaceFaultElements in interface InterfaceElementpublic InterfaceOperationElement addInterfaceOperationElement()
InterfaceElement
addInterfaceOperationElement in interface InterfaceElementpublic InterfaceOperationElement getInterfaceOperationElement(QName operName)
InterfaceElement
getInterfaceOperationElement in interface InterfaceElementoperName - the QName of the required InterfaceOperationElement
public InterfaceOperationElement[] getInterfaceOperationElements()
InterfaceElement
getInterfaceOperationElements in interface InterfaceElementpublic WSDLElement getParentElement()
getParentElement in interface NestedElementpublic FragmentIdentifier getFragmentIdentifier()
WSDLComponent
getFragmentIdentifier in interface WSDLComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||