org.apache.woden.wsdl20.extensions

## Class GenericExtensionProperty

- java.lang.Object
- - org.apache.woden.wsdl20.extensions.GenericExtensionProperty

- All Implemented Interfaces:
    ExtensionProperty

      public class GenericExtensionProperty
      extends Object
      implements ExtensionProperty

  This class implements the ExtensionProperty interface to provide a generic representation of a component extension property.

  This class may be used by implementors of WSDL 2.0 extensions when implementing the ExtensionProperty accessor methods of the ComponentExtensionContext interface. For example, when they extend the abstract class BaseComponentExtensionContext, which partially implements the ComponentExtensionContext interface.

  Author:
    John Kaputin (jkaputin@apache.org)
  See Also:
    `ComponentExtensionContext`, `BaseComponentExtensionContext`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `GenericExtensionProperty(String name, URI namespace, Object content)` This public constructor stores the extension property's name, namespace and content.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `getContent()` Returns the content of the extension property as a `java.lang.Object`.
    `String` | `getName()` Returns a String representing the name of the extension property.
    `URI` | `getNamespace()` Returns a URI representing the namespace the extension property belongs to.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### GenericExtensionProperty

          public GenericExtensionProperty(String name,
                                  URI namespace,
                                  Object content)

      This public constructor stores the extension property's name, namespace and content. The name and namespace parameters must not be null.
      Parameters:
        `name` - the String name of the extension property
        `namespace` - the namespace URI of the extension property
        `content` - an Object representing the content of the extension property
      Throws:
        `NullPointerException` - if the name or namespace parameter is null

  - ### Method Detail

    - #### getName

          public String getName()

      Description copied from interface: `ExtensionProperty`
      Returns a String representing the name of the extension property.
      Specified by:
        `getName` in interface `ExtensionProperty`
      See Also:
        `ExtensionProperty.getName()`

    - #### getNamespace

          public URI getNamespace()

      Description copied from interface: `ExtensionProperty`
      Returns a URI representing the namespace the extension property belongs to.
      Specified by:
        `getNamespace` in interface `ExtensionProperty`
      See Also:
        `ExtensionProperty.getNamespace()`

    - #### getContent

          public Object getContent()

      Description copied from interface: `ExtensionProperty`
      Returns the content of the extension property as a `java.lang.Object`.
      Specified by:
        `getContent` in interface `ExtensionProperty`
      See Also:
        `ExtensionProperty.getContent()`

Copyright ? Apache Software Foundation. All Rights Reserved.