public interface Description extends WSDLComponent
In other words, if a WSDL component model is derived from composite WSDL document made up of WSDL imports or includes, then its Description component acts as a container for all of the top-level WSDL components in the WSDL tree, starting with the root <description> element. These top-level WSDL components include Interface, Binding, Service, ElementDeclaration and TypeDefinition.
Modifier and Type | Method and Description |
---|---|
Binding |
getBinding(QName name)
Returns a Binding with the specified name from the {bindings} property of this
Description.
|
Binding[] |
getBindings()
Represents the {bindings} property of the Description component.
|
ElementDeclaration |
getElementDeclaration(QName name)
Returns the ElementDeclaration with the specified name from the set of ElementDeclarations
represented by the {element declarations} property of this Description.
|
ElementDeclaration[] |
getElementDeclarations()
Represents the {element declarations} property of the Description component.
|
Interface |
getInterface(QName name)
Returns an Interface with the specified name from the {interfaces} property of this
Description.
|
Interface[] |
getInterfaces()
Represents the {interfaces} property of the Description component.
|
Service |
getService(QName name)
Returns a Service with the specified name from the {services} property of this
Description.
|
Service[] |
getServices()
Represents the {services} property of the Description component.
|
TypeDefinition |
getTypeDefinition(QName name)
Returns the TypeDefinition with the specified name from the set of TypeDefinitions
represented by the {type definitions} property of this Description.
|
TypeDefinition[] |
getTypeDefinitions()
Represents the {type definitions} property of the Description component.
|
DescriptionElement |
toElement()
Returns a WSDLElement that represents the element information item from the WSDL 2.0
infoset that maps to this WSDLComponent.
|
equals, getComponentExtensionContext, getFragmentIdentifier, isEquivalentTo, setComponentExtensionContext, toString
getExtensionProperties, getExtensionProperties, getExtensionProperty
Interface[] getInterfaces()
Interface getInterface(QName name)
name
- the QName of the required InterfaceBinding[] getBindings()
Binding getBinding(QName name)
name
- the QName of the required BindingService[] getServices()
Service getService(QName name)
name
- the QName of the required ServiceElementDeclaration[] getElementDeclarations()
ElementDeclaration getElementDeclaration(QName name)
name
- the QName of the required ElementDeclarationTypeDefinition[] getTypeDefinitions()
TypeDefinition getTypeDefinition(QName name)
name
- the QName of the required TypeDefinitionDescriptionElement toElement()
The Description component is unlike other WSDL components which map neatly to a single WSDL element. Description represents a 'flattened' view of the entire WSDL infoset tree, including the WSDL components from any imported or included WSDL documents, so it could contain the content of multiple <wsdl:description> elements.
If the Component model has been derived from such a composite WSDL infoset, the behaviour of this method is to return the DescriptionElement that represents the root <wsdl:description> element.
Copyright © 2005–2017 Apache Software Foundation. All rights reserved.