org.jplate.foundation.node.attribute
Interface AttributeIfc<N,V>

Type Parameters:
N - The name type of the attribute.
V - The value type of the attribute.
All Superinterfaces:
FormattableIfc
All Known Implementing Classes:
DefaultAttribute

public interface AttributeIfc<N,V>
extends FormattableIfc

An attribute is a name/value pair. As name uniquely identifies an attribute, its name is immutable through this interface. Values, however, are mutable.

Modifications:
    $Date: 2008-12-02 12:32:45 -0500 (Tue, 02 Dec 2008) $
    $Revision: 479 $
    $Author: sfloess $
    $HeadURL: https://jplate.svn.sourceforge.net/svnroot/jplate/trunk/src/dev/java/org/jplate/foundation/node/attribute/AttributeIfc.java $
    


Method Summary
 N getName()
          Returns the name of the attribute.
 V getValue()
          Returns the value of the attribute.
 void setValue(V value)
          Sets the value of the attribute.
 
Methods inherited from interface org.jplate.foundation.FormattableIfc
toString
 

Method Detail

getName

N getName()
Returns the name of the attribute.

Returns:
the name of the attribute.

getValue

V getValue()
Returns the value of the attribute.

Returns:
the value of the attribute.

setValue

void setValue(V value)
Sets the value of the attribute.

Parameters:
value - represents the new value of the attribute.