IBM WebSphere Application ServerTM
Release 8

com.ibm.wsspi.wsaddressing
Interface AttributedType

All Known Subinterfaces:
AttributedQName, AttributedURI, EndpointReference, Metadata, Relationship, ServiceName

public interface AttributedType

This interface enables XML types to have attributes set on their XML element, as an extensibility mechanism.


Method Summary
 void addAttribute(javax.xml.soap.Name attributeName, java.lang.String value)
          Adds the attribute specified in the parameters to the target object.
 java.util.Iterator getAttributeNames()
          Returns an iterator over all the attribute names.
 java.lang.String getAttributeValue(javax.xml.soap.Name attributeName)
          Gets the attribute value specified by the name passed on the parameter.
 

Method Detail

getAttributeValue

java.lang.String getAttributeValue(javax.xml.soap.Name attributeName)
Gets the attribute value specified by the name passed on the parameter.

Parameters:
attributeName - The name of the attribute
Returns:
The value held under the supplied attributeName, or null if no attribute of the specified name exists

addAttribute

void addAttribute(javax.xml.soap.Name attributeName,
                  java.lang.String value)
Adds the attribute specified in the parameters to the target object. If the object previously contained an attribute of the same name, its old value is replaced.

Parameters:
attributeName - The name of the attribute
value - The value to be set for the attribute name specified

getAttributeNames

java.util.Iterator getAttributeNames()
Returns an iterator over all the attribute names.

Returns:
An Iterator over all attribute names (of type javax.xml.soap.Name) for this element

IBM WebSphere Application ServerTM
Release 8