ubc.cs.JLog.Foundation
Interface iAttributes

All Known Implementing Classes:
aAnimationObject, aAnimationShape, aAnimationShape_image, aAnimationShape_line, aAnimationShape_polygon, aAnimationShape_text, aAttributeTranslation

public interface iAttributes

An inteface to represent getting and setting attribute Key-Value pairs via Hashtables.

Author:
Glendon Holst

Method Summary
 java.util.Hashtable getAttributes()
          Returns a hashtable of every attribute associated with this object.
 void setAttributes(java.util.Hashtable attributes)
          Set the attributes of the object to those in the given Hashtable.
 

Method Detail

getAttributes

java.util.Hashtable getAttributes()
Returns a hashtable of every attribute associated with this object. Each attribute must have a String name key, and its associated value (non-null).

Returns:
The Hashtable of attribute name-value pairings.

setAttributes

void setAttributes(java.util.Hashtable attributes)
Set the attributes of the object to those in the given Hashtable. Errors such as Non-applicable attributes, or invalid values can be handled as the receiving object prefers (e.g., silently ignore, or throw exception).

Parameters:
attributes - The Hashtable of attribute name-value pairings.