com.ibm.wsspi.wsaddressing

Interface AttributedType

All known subinterfaces:
AttributedQName, AttributedURI, EndpointReference, Metadata, Relationship, ServiceName

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

Method Summary

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

Method Detail

getAttributeValue

  1. 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

  1. void addAttribute(javax.xml.soap.Name attributeName,
  2. 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

  1. 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