org.apache.woden.wsdl20.extensions
Interface ExtensionProperty

All Known Implementing Classes:
GenericExtensionProperty

public interface ExtensionProperty

Represents a WSDL 2.0 component extension property. That is, a property derived from WSDL 2.0 extension elements or attributes. This is a generic representation of an extension property that simply provides the property's name and namespace and its content as a java.lang.Object. The caller must know what to do with this content Object. For example, what Java type to cast it to or whether it provides a useful toString() implementation.

WSDL 2.0 extensions should be defined by their own specification, which may include this type of information. Implementors of WSDL 2.0 extensions in Woden should also specify the names and Java types of their extension properties using Javadoc comments in their implementations of the ComponentExtensionContext interface. For examples, see the SOAP and HTTP binding extensions provided by Woden.

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

Method Summary
 java.lang.Object getContent()
          Returns the content of the extension property as a java.lang.Object.
 java.lang.String getName()
          Returns a String representing the name of the extension property.
 java.net.URI getNamespace()
          Returns a URI representing the namespace the extension property belongs to.
 

Method Detail

getName

java.lang.String getName()
Returns a String representing the name of the extension property.


getNamespace

java.net.URI getNamespace()
Returns a URI representing the namespace the extension property belongs to.


getContent

java.lang.Object getContent()
Returns the content of the extension property as a java.lang.Object.



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