org.apache.woden.wsdl20

## Interface WSDLComponent

- All Superinterfaces:
    PropertyExtensible
  All Known Subinterfaces:
    Binding, BindingFault, BindingFaultReference, BindingMessageReference, BindingOperation, Description, EdBinding, EdBindingFault, EdBindingFaultReference, EdBindingMessageReference, EdBindingOperation, EdDescription, EdEndpoint, EdInterface, EdInterfaceFault, EdInterfaceFaultReference, EdInterfaceMessageReference, EdInterfaceOperation, EdService, Endpoint, Interface, InterfaceFault, InterfaceFaultReference, InterfaceMessageReference, InterfaceOperation, NestedComponent, Service

      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

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(WSDLComponent comp)` Deprecated. Use isEquivalentTo(WSDLComponent)
    `ComponentExtensionContext` | `getComponentExtensionContext(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.
    `boolean` | `isEquivalentTo(WSDLComponent comp)` Tests whether this component is logically equivalent the specified component.
    `void` | `setComponentExtensionContext(URI extNamespace, ComponentExtensionContext compExtCtx)` Stores the ComponentExtensionContext object that provides access to this WSDL component's extension properties from the specified namespace.
    `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

    - #### isEquivalentTo

          boolean isEquivalentTo(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

    - #### equals

          boolean equals(WSDLComponent comp)

      Deprecated. Use isEquivalentTo(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.
      Parameters:
        `comp` - the WSDL component that this component will be compared to
      Returns:
        true if the components are logically equivalent
      See Also:
        `isEquivalentTo(WSDLComponent)`

    - #### setComponentExtensionContext

          void setComponentExtensionContext(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(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

          String toString()

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

Copyright ? Apache Software Foundation. All Rights Reserved.