de.ispsoft.jaxme
Class JMAttribute

java.lang.Object
  extended byde.ispsoft.jaxme.JMAttribute
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class JMAttribute
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

An implementation of an attribute.

Author:
Jochen Wiedmann
See Also:
Serialized Form

Constructor Summary
JMAttribute(java.lang.String pNamespaceURI, java.lang.String pLocalName, java.lang.String pValue)
          Creates a new JMAttribute instance and initializes the local name, namespace URI and value.
 
Method Summary
 java.lang.Object clone()
          Returns a clone of this attribute.
 java.lang.String getLocalName()
          Returns the attributes local name.
 java.lang.String getNamespaceURI()
          Returns the attributes namespace URI.
 java.lang.String getValue()
          Returns the attributes value.
 void setValue(java.lang.String pValue)
          Sets the attributes value.
 java.lang.String toString()
          Serializes the attribute into a string.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JMAttribute

public JMAttribute(java.lang.String pNamespaceURI,
                   java.lang.String pLocalName,
                   java.lang.String pValue)
Creates a new JMAttribute instance and initializes the local name, namespace URI and value.

Method Detail

toString

public java.lang.String toString()

Serializes the attribute into a string.


getNamespaceURI

public java.lang.String getNamespaceURI()

Returns the attributes namespace URI.


getLocalName

public java.lang.String getLocalName()

Returns the attributes local name.


getValue

public java.lang.String getValue()

Returns the attributes value.


setValue

public void setValue(java.lang.String pValue)

Sets the attributes value.


clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException

Returns a clone of this attribute.

Throws:
java.lang.CloneNotSupportedException