IBM WebSphere Application ServerTM
Release 8

com.ibm.websphere.wsrf
Class Attribute

java.lang.Object
  extended by com.ibm.websphere.wsrf.Attribute
All Implemented Interfaces:
java.io.Serializable

public class Attribute
extends java.lang.Object
implements java.io.Serializable

The Attribute class represents an attribute of a BaseFault. A BaseFault can have zero or more attributes. An attribute consists of a qualified name and a value.

See Also:
Serialized Form

Constructor Summary
Attribute(javax.xml.namespace.QName attributeName, java.lang.String attributeValue)
          Constructs an Attribute with a name and value
 
Method Summary
 javax.xml.namespace.QName getName()
          Returns the qualified name part of the attribute
 java.lang.String getValue()
          Returns the value part of the attribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Attribute

public Attribute(javax.xml.namespace.QName attributeName,
                 java.lang.String attributeValue)
Constructs an Attribute with a name and value

Parameters:
attributeName - the qualified name of the Attribute
attributeValue - the value of the Attribute
Method Detail

getName

public javax.xml.namespace.QName getName()
Returns the qualified name part of the attribute

Returns:
the qualified name part of the attribute

getValue

public java.lang.String getValue()
Returns the value part of the attribute

Returns:
the value part of the attribute

IBM WebSphere Application ServerTM
Release 8