org.apache.woden.wsdl20
Interface WSDLComponent

All Superinterfaces:
PropertyExtensible
All Known Subinterfaces:
Binding, BindingFault, BindingFaultReference, BindingMessageReference, BindingOperation, Description, Endpoint, Interface, InterfaceFault, InterfaceFaultReference, InterfaceMessageReference, InterfaceOperation, NestedComponent, Service
All Known Implementing Classes:
BindingFaultImpl, BindingFaultReferenceImpl, BindingImpl, BindingMessageReferenceImpl, BindingOperationImpl, DescriptionImpl, EndpointImpl, InterfaceFaultImpl, InterfaceFaultReferenceImpl, InterfaceImpl, InterfaceMessageReferenceImpl, InterfaceOperationImpl, NestedImpl, ServiceImpl, WSDLComponentImpl

public interface WSDLComponent
extends PropertyExtensible

Represents the top-level super-type of all WSDL 2.0 Components. Every WSDL 2.0 Component interface must extend this interface, directly or indirectly. It provides a common way to refer to any type of WSDL Component. It defines behaviour common to all WSDL components, such as testing for equivalence and accessing extension properties.

Author:
John Kaputin (jkaputin@apache.org)

Method Summary
 boolean equals(WSDLComponent comp)
          Tests whether this component is logically equivalent the specified component.
 ComponentExtensionContext getComponentExtensionContext(java.net.URI extNamespace)
          Returns the ComponentExtensionContext object that provides access to this WSDL component's extension properties from the specified namespace.
 FragmentIdentifier getFragmentIdentifier()
          Returns the fragment identifier for this WSDL 2.0 component.
 void setComponentExtensionContext(java.net.URI extNamespace, ComponentExtensionContext compExtCtx)
          Stores the ComponentExtensionContext object that provides access to this WSDL component's extension properties from the specified namespace.
 java.lang.String toString()
          Returns a String serialisation of the fragment identifier for this WSDL 2.0 component.
 
Methods inherited from interface org.apache.woden.wsdl20.extensions.PropertyExtensible
getExtensionProperties, getExtensionProperties, getExtensionProperty
 

Method Detail

equals

boolean equals(WSDLComponent comp)
Tests whether this component is logically equivalent the specified component. Equivalence is determined per spec WSDL 2.0 Part 1 Section 2.17 Equivalence of Components.

Parameters:
comp - the WSDL component that this component will be compared to
Returns:
true if the components are logically equivalent

setComponentExtensionContext

void setComponentExtensionContext(java.net.URI extNamespace,
                                  ComponentExtensionContext compExtCtx)
Stores the ComponentExtensionContext object that provides access to this WSDL component's extension properties from the specified namespace.

Parameters:
extNamespace - the namespace URI of the extension properties
compExtCtx - the ComponentExtensionContext object for accessing the extension properties

getComponentExtensionContext

ComponentExtensionContext getComponentExtensionContext(java.net.URI extNamespace)
Returns the ComponentExtensionContext object that provides access to this WSDL component's extension properties from the specified namespace.

Parameters:
extNamespace - the namespace URI of the extension properties
Returns:
the ComponentExtensionContext object for accessing the extension properties

getFragmentIdentifier

FragmentIdentifier getFragmentIdentifier()
Returns the fragment identifier for this WSDL 2.0 component.

Returns:
a FragmentIdentifier for this WSDL 2.0 component.

toString

java.lang.String toString()
Returns a String serialisation of the fragment identifier for this WSDL 2.0 component.

Overrides:
toString in class java.lang.Object
Returns:
a String the serialisation of the fragment identifier for this WSDL 2.0 component.


Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.