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, toString
addDocumentationElement, getDocumentationElements
addExtensionElement, addNamespace, getDeclaredNamespaces, getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, getExtensionElements, getExtensionElementsOfType, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, hasExtensionAttributesForNamespace, hasExtensionElementsForNamespace, removeExtensionElement, removeNamespace, setExtensionAttribute
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getComponentExtensionContext, setComponentExtensionContext, toString
getExtensionProperties, getExtensionProperties, getExtensionProperty
addDocumentationElement, getDocumentationElements
addNamespace, getDeclaredNamespaces, getInScopeNamespaces, getNamespacePrefix, getNamespaceURI, removeNamespace
getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, hasExtensionAttributesForNamespace, setExtensionAttribute
addExtensionElement, getExtensionElements, getExtensionElementsOfType, hasExtensionElementsForNamespace, removeExtensionElement
public QName getName()
Interface
getName
in interface Interface
getName
in interface InterfaceElement
public Interface getExtendedInterface(QName qname)
Interface
getExtendedInterface
in interface Interface
qname
- the qualified name of the required Interfacepublic Interface[] getExtendedInterfaces()
Interface
getExtendedInterfaces
in interface Interface
public InterfaceFault[] getInterfaceFaults()
Interface
getInterfaceFaults
in interface Interface
public InterfaceFault getInterfaceFault(QName faultName)
Interface
getInterfaceFault
in interface Interface
faultName
- the qualified name of the InterfaceFaultpublic InterfaceFault[] getAllInterfaceFaults()
Interface
getAllInterfaceFaults
in interface Interface
public InterfaceFault getFromAllInterfaceFaults(QName faultName)
Interface
getFromAllInterfaceFaults
in interface Interface
faultName
- the qualified name of the InterfaceFaultpublic InterfaceOperation[] getInterfaceOperations()
Interface
getInterfaceOperations
in interface Interface
public InterfaceOperation getInterfaceOperation(QName operName)
Interface
getInterfaceOperation
in interface Interface
operName
- the qualified name of the required InterfaceOperationpublic InterfaceOperation[] getAllInterfaceOperations()
Interface
getAllInterfaceOperations
in interface Interface
public InterfaceOperation getFromAllInterfaceOperations(QName operName)
Interface
getFromAllInterfaceOperations
in interface Interface
operName
- the qualified name of the InterfaceOperationpublic InterfaceElement toElement()
Interface
public boolean isEquivalentTo(WSDLComponent comp)
WSDLComponent
isEquivalentTo
in interface WSDLComponent
isEquivalentTo
in class WSDLComponentImpl
comp
- the WSDL component that this component will be compared topublic boolean equals(WSDLComponent comp)
WSDLComponent
equals
in interface WSDLComponent
equals
in class WSDLComponentImpl
comp
- the WSDL component that this component will be compared toWSDLComponent.isEquivalentTo(WSDLComponent)
public void setName(NCName name)
InterfaceElement
name
attribute of the <interface> element.setName
in interface InterfaceElement
name
- the NCName that represents the local name of this interfacepublic void addStyleDefaultURI(URI uri)
InterfaceElement
styleDefault
attribute
of the <interface> element.
If a null style URI is specified, no action is performed.addStyleDefaultURI
in interface InterfaceElement
uri
- a URI representing an operation stylepublic URI[] getStyleDefault()
InterfaceElement
styleDefault
attribute
of the <interface> element.
If no style default URIs exist, an empty array is returned.getStyleDefault
in interface InterfaceElement
public void addExtendedInterfaceName(QName interfaceName)
InterfaceElement
extends
attribute
of the <interface> element.
If a null interface name is specified, no action is performed.addExtendedInterfaceName
in interface InterfaceElement
interfaceName
- the QName of an extended interfacepublic void removeExtendedInterfaceName(QName interfaceName)
InterfaceElement
extends
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 InterfaceElement
interfaceName
- the QName of an extended interfacepublic QName[] getExtendedInterfaceNames()
InterfaceElement
extends
attribute
of the <interface> element.
If no extended interfaces exist, an empty array is returned.getExtendedInterfaceNames
in interface InterfaceElement
public InterfaceElement getExtendedInterfaceElement(QName interfaceName)
InterfaceElement
extends
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 InterfaceElement
interfaceName
- the QName of an extended interfacepublic InterfaceElement[] getExtendedInterfaceElements()
InterfaceElement
extends
attribute
of the <interface> element.
If no extended interfaces exist, an empty array is returned.getExtendedInterfaceElements
in interface InterfaceElement
public InterfaceFaultElement addInterfaceFaultElement()
InterfaceElement
addInterfaceFaultElement
in interface InterfaceElement
public InterfaceFaultElement getInterfaceFaultElement(QName faultName)
InterfaceElement
getInterfaceFaultElement
in interface InterfaceElement
faultName
- the QName of the required InterfaceFaultElementpublic InterfaceFaultElement[] getInterfaceFaultElements()
InterfaceElement
getInterfaceFaultElements
in interface InterfaceElement
public InterfaceOperationElement addInterfaceOperationElement()
InterfaceElement
addInterfaceOperationElement
in interface InterfaceElement
public InterfaceOperationElement getInterfaceOperationElement(QName operName)
InterfaceElement
getInterfaceOperationElement
in interface InterfaceElement
operName
- the QName of the required InterfaceOperationElementpublic InterfaceOperationElement[] getInterfaceOperationElements()
InterfaceElement
getInterfaceOperationElements
in interface InterfaceElement
public WSDLElement getParentElement()
getParentElement
in interface NestedElement
public FragmentIdentifier getFragmentIdentifier()
WSDLComponent
getFragmentIdentifier
in interface WSDLComponent
Copyright © 2005-2013 Apache Software Foundation. All Rights Reserved.