org.apache.woden.internal.wsdl20
Class WSDLObjectImpl

java.lang.Object
  extended by org.apache.woden.internal.wsdl20.WSDLElementImpl
      extended by org.apache.woden.internal.wsdl20.WSDLObjectImpl
All Implemented Interfaces:
AttributeExtensible, ElementExtensible, WSDLComponent, WSDLElement
Direct Known Subclasses:
DocumentableImpl

public abstract class WSDLObjectImpl
extends WSDLElementImpl
implements WSDLComponent

All classes implementing the WSDL 2.0 Component and Element model interfaces directly or indirectly extend this abstract class. It implements the WSDL20Component interface which just provides a common reference for objects from the WSDL 2.0 Component API. This class also inherits common behaviour for WSDL Elements from WSDLElementImpl, which in turn provides a common reference for objects from the the WSDL 2.0 Element API.

Author:
jkaputin@apache.org

Constructor Summary
WSDLObjectImpl()
           
 
Method Summary
protected  boolean containsComponent(WSDLComponent comp, java.util.List components)
           
 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.
 void setComponentExtensions(java.net.URI namespace, ComponentExtensions extensions)
           
 
Methods inherited from class org.apache.woden.internal.wsdl20.WSDLElementImpl
addExtensionElement, getExtensionAttribute, getExtensionAttributes, getExtensionAttributesForNamespace, getExtensionElements, getExtensionElementsOfType, hasExtensionAttributesForNamespace, hasExtensionElementsForNamespace, removeExtensionElement, setExtensionAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDLObjectImpl

public WSDLObjectImpl()
Method Detail

equals

public boolean equals(WSDLComponent comp)
Description copied from interface: WSDLComponent
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.

Specified by:
equals in interface WSDLComponent
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)
Description copied from interface: WSDLComponent
Gets the group of extension properties, belonging to the specified non-WSDL namespace, that extend this WSDL component.

Specified by:
getComponentExtensionsForNamespace in interface WSDLComponent
Parameters:
namespace - a namespace URI different to the WSDL 2.0 namespace.
Returns:
the ComponentExtensions with the specified namespace.

containsComponent

protected boolean containsComponent(WSDLComponent comp,
                                    java.util.List components)

setComponentExtensions

public void setComponentExtensions(java.net.URI namespace,
                                   ComponentExtensions extensions)


Copyright © 2007. All Rights Reserved.