org.apache.woden.wsdl20
Interface WSDLComponent

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, WSDLObjectImpl

public interface WSDLComponent

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.
 ComponentExtensions getComponentExtensionsForNamespace(java.net.URI namespace)
          Gets the group of extension properties, belonging to the specified non-WSDL namespace, that extend this WSDL component.
 

Method Detail

equals

public 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

getComponentExtensionsForNamespace

public ComponentExtensions getComponentExtensionsForNamespace(java.net.URI namespace)
Gets the group of extension properties, belonging to the specified non-WSDL namespace, that extend this WSDL component.

Parameters:
namespace - a namespace URI different to the WSDL 2.0 namespace.
Returns:
the ComponentExtensions with the specified namespace.


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