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()
ExtensionProperty
getName
in interface ExtensionProperty
ExtensionProperty.getName()
public URI getNamespace()
ExtensionProperty
getNamespace
in interface ExtensionProperty
ExtensionProperty.getNamespace()
public Object getContent()
ExtensionProperty
java.lang.Object
.getContent
in interface ExtensionProperty
ExtensionProperty.getContent()
Copyright © 2005–2017 Apache Software Foundation. All rights reserved.