org.apache.woden.wsdl20.extensions

## Interface ComponentExtensionContext

- All Known Subinterfaces:
    HTTPBindingExtensions, HTTPBindingFaultExtensions, HTTPBindingMessageReferenceExtensions, HTTPBindingOperationExtensions, HTTPEndpointExtensions, InterfaceOperationExtensions, RPCInterfaceOperationExtensions, SOAPBindingExtensions, SOAPBindingFaultExtensions, SOAPBindingFaultReferenceExtensions, SOAPBindingMessageReferenceExtensions, SOAPBindingOperationExtensions, SOAPEndpointExtensions
  All Known Implementing Classes:
    BaseComponentExtensionContext

      public interface ComponentExtensionContext

  This interface defines a generic API for accessing the extension properties from a particular extension namespace that are attached to a particular WSDL 2.0 component. That is, for accessing extension properties by namespace per component.

  It provides accessor methods that return `ExtensionProperty` objects, which callers can use to access the content of an extension property.

  Implementors of WSDL 2.0 extensions must, as a minimum, implement this interface for each WSDL 2.0 component they extend. They must also register their extension implementations using the `ExtensionRegistry`. Implementors may optionally extend this interface to add their own extension-specific property accessor methods to the generic accessor methods declared by this interface. For examples of this, see the SOAP and HTTP binding extensions provided by Woden.

  To document extensions consistently, implementors should copy the following Javadoc fragment to use for their implementation classes or for their sub-interfaces of this interface, replacing the square bracket parts [...] accordingly.

  start of fragment:

  Provides access to the extension properties of the [parent component name] component that are in the `[extension namespace]` namespace. These extension properties can be accessed as `ExtensionProperty` objects via the `getProperties` and `getProperty` methods using the property names and Java types shown in the following table.

  Property name | Java type
  --- | ---
  [property name] | [java type]
  ... | ...

  end of fragment:

  Author:
    John Kaputin (jkaputin@apache.org)
  See Also:
    `ExtensionProperty`

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `URI` | `getNamespace()`
    `WSDLComponent` | `getParent()`
    `ExtensionProperty[]` | `getProperties()`
    `ExtensionProperty` | `getProperty(String propertyName)`

- - ### Method Detail

    - #### getParent

          WSDLComponent getParent()

    - #### getNamespace

          URI getNamespace()

    - #### getProperties

          ExtensionProperty[] getProperties()

    - #### getProperty

          ExtensionProperty getProperty(String propertyName)

Copyright ? Apache Software Foundation. All Rights Reserved.