public class GenericExtensionProperty extends Object implements ExtensionProperty
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.
ComponentExtensionContext,
BaseComponentExtensionContext| Constructor and Description |
|---|
GenericExtensionProperty(String name,
URI namespace,
Object content)
This public constructor stores the extension property's name, namespace and
content.
|
| 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.
|
public GenericExtensionProperty(String name, URI namespace, Object content)
name - the String name of the extension propertynamespace - the namespace URI of the extension propertycontent - an Object representing the content of the extension propertyNullPointerException - if the name or namespace parameter is nullpublic String getName()
ExtensionPropertygetName in interface ExtensionPropertyExtensionProperty.getName()public URI getNamespace()
ExtensionPropertygetNamespace in interface ExtensionPropertyExtensionProperty.getNamespace()public Object getContent()
ExtensionPropertyjava.lang.Object.getContent in interface ExtensionPropertyExtensionProperty.getContent()Copyright ? Apache Software Foundation. All Rights Reserved.