javax.wsdl.extensions

Interface AttributeExtensible

public interface AttributeExtensible

Classes that implement this interface can contain extensibility attributes.

Author: Matthew J. Duftler Paul Fremantle

Field Summary
static intLIST_OF_QNAMES_TYPE
static intLIST_OF_STRINGS_TYPE
static intNO_DECLARED_TYPE
static intQNAME_TYPE
static intSTRING_TYPE
Method Summary
ObjectgetExtensionAttribute(QName name)
Retrieve an extension attribute from this element.
MapgetExtensionAttributes()
Get the map containing all the extension attributes defined on this element.
ListgetNativeAttributeNames()
Get the list of local attribute names defined for this element in the WSDL specification.
voidsetExtensionAttribute(QName name, Object value)
Set an extension attribute on this element.

Field Detail

LIST_OF_QNAMES_TYPE

public static final int LIST_OF_QNAMES_TYPE

LIST_OF_STRINGS_TYPE

public static final int LIST_OF_STRINGS_TYPE

NO_DECLARED_TYPE

public static final int NO_DECLARED_TYPE

QNAME_TYPE

public static final int QNAME_TYPE

STRING_TYPE

public static final int STRING_TYPE

Method Detail

getExtensionAttribute

public Object getExtensionAttribute(QName name)
Retrieve an extension attribute from this element. If the extension attribute is not defined, null is returned.

Parameters: name the extension attribute name

Returns: the value of the extension attribute, or null if it is not defined. Can be a String, a QName, a List of Strings, or a List of QNames.

See Also: AttributeExtensible AttributeExtensible ExtensionRegistry ExtensionRegistry

getExtensionAttributes

public Map getExtensionAttributes()
Get the map containing all the extension attributes defined on this element. The keys are the qnames of the attributes.

Returns: a map containing all the extension attributes defined on this element

See Also: AttributeExtensible AttributeExtensible ExtensionRegistry ExtensionRegistry

getNativeAttributeNames

public List getNativeAttributeNames()
Get the list of local attribute names defined for this element in the WSDL specification.

Returns: a List of Strings, one for each local attribute name

setExtensionAttribute

public void setExtensionAttribute(QName name, Object value)
Set an extension attribute on this element. Pass in a null value to remove an extension attribute.

Parameters: name the extension attribute name value the extension attribute value. Can be a String, a QName, a List of Strings, or a List of QNames.

See Also: AttributeExtensible AttributeExtensible ExtensionRegistry ExtensionRegistry

Copyright © 2003,2005 IBM. All Rights Reserved.