public class InterfaceImpl extends WSDLComponentImpl implements Interface, InterfaceElement
| Constructor and Description |
|---|
InterfaceImpl() |
| Modifier and Type | Method and Description |
|---|---|
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(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() |
URI[] |
getStyleDefault()
Return the set of URIs representing the default operation style.
|
boolean |
isEquivalentTo(WSDLComponent comp)
Tests whether this component is logically equivalent the specified component.
|
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.
|
containsComponent, getComponentExtensionContext, getExtensionProperties, getExtensionProperties, getExtensionProperty, setComponentExtensionContext, toStringaddDocumentationElement, getDocumentationElementsaddExtensionElement, addNamespace, getDeclaredNamespaces, getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, getExtensionElements, getExtensionElementsOfType, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, hasExtensionAttributesForNamespace, hasExtensionElementsForNamespace, removeExtensionElement, removeNamespace, setExtensionAttributeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetComponentExtensionContext, setComponentExtensionContext, toStringgetExtensionProperties, getExtensionProperties, getExtensionPropertyaddDocumentationElement, getDocumentationElementsaddNamespace, getDeclaredNamespaces, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, removeNamespacegetExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, hasExtensionAttributesForNamespace, setExtensionAttributeaddExtensionElement, getExtensionElements, getExtensionElementsOfType, hasExtensionElementsForNamespace, removeExtensionElementpublic QName getName()
InterfacegetName in interface InterfacegetName in interface InterfaceElementpublic Interface getExtendedInterface(QName qname)
InterfacegetExtendedInterface in interface Interfaceqname - the qualified name of the required Interfacepublic Interface[] getExtendedInterfaces()
InterfacegetExtendedInterfaces in interface Interfacepublic InterfaceFault[] getInterfaceFaults()
InterfacegetInterfaceFaults in interface Interfacepublic InterfaceFault getInterfaceFault(QName faultName)
InterfacegetInterfaceFault in interface InterfacefaultName - the qualified name of the InterfaceFaultpublic InterfaceFault[] getAllInterfaceFaults()
InterfacegetAllInterfaceFaults in interface Interfacepublic InterfaceFault getFromAllInterfaceFaults(QName faultName)
InterfacegetFromAllInterfaceFaults in interface InterfacefaultName - the qualified name of the InterfaceFaultpublic InterfaceOperation[] getInterfaceOperations()
InterfacegetInterfaceOperations in interface Interfacepublic InterfaceOperation getInterfaceOperation(QName operName)
InterfacegetInterfaceOperation in interface InterfaceoperName - the qualified name of the required InterfaceOperationpublic InterfaceOperation[] getAllInterfaceOperations()
InterfacegetAllInterfaceOperations in interface Interfacepublic InterfaceOperation getFromAllInterfaceOperations(QName operName)
InterfacegetFromAllInterfaceOperations in interface InterfaceoperName - the qualified name of the InterfaceOperationpublic InterfaceElement toElement()
Interfacepublic boolean isEquivalentTo(WSDLComponent comp)
WSDLComponentisEquivalentTo in interface WSDLComponentisEquivalentTo in class WSDLComponentImplcomp - the WSDL component that this component will be compared topublic boolean equals(WSDLComponent comp)
WSDLComponentequals in interface WSDLComponentequals in class WSDLComponentImplcomp - the WSDL component that this component will be compared toWSDLComponent.isEquivalentTo(WSDLComponent)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(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 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 interfacepublic InterfaceElement[] getExtendedInterfaceElements()
InterfaceElementextends attribute
of the <interface> element.
If no extended interfaces exist, an empty array is returned.getExtendedInterfaceElements in interface InterfaceElementpublic InterfaceFaultElement addInterfaceFaultElement()
InterfaceElementaddInterfaceFaultElement in interface InterfaceElementpublic InterfaceFaultElement getInterfaceFaultElement(QName faultName)
InterfaceElementgetInterfaceFaultElement in interface InterfaceElementfaultName - the QName of the required InterfaceFaultElementpublic InterfaceFaultElement[] getInterfaceFaultElements()
InterfaceElementgetInterfaceFaultElements in interface InterfaceElementpublic InterfaceOperationElement addInterfaceOperationElement()
InterfaceElementaddInterfaceOperationElement in interface InterfaceElementpublic InterfaceOperationElement getInterfaceOperationElement(QName operName)
InterfaceElementgetInterfaceOperationElement in interface InterfaceElementoperName - the QName of the required InterfaceOperationElementpublic InterfaceOperationElement[] getInterfaceOperationElements()
InterfaceElementgetInterfaceOperationElements in interface InterfaceElementpublic WSDLElement getParentElement()
getParentElement in interface NestedElementpublic FragmentIdentifier getFragmentIdentifier()
WSDLComponentgetFragmentIdentifier in interface WSDLComponentCopyright © 2005-2012 Apache Software Foundation. All Rights Reserved.