cookxml.common.helper
Class MapEntryHelper

java.lang.Object
  extended bycookxml.common.helper.MapEntryHelper

public class MapEntryHelper
extends Object

Helper class for constructing a MapEntry object.

Since:
CookXml 1.0
See Also:
MapEntryAdder

Field Summary
 Object key
          the key for the map entry
 Object value
          the value for the map entry
 
Constructor Summary
MapEntryHelper()
           
 
Method Summary
 void setAttr(Object attr)
          an alternative name for the key.
 void setAttribute(Object attr)
          an alternative name for the key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

public Object key
the key for the map entry


value

public Object value
the value for the map entry

Constructor Detail

MapEntryHelper

public MapEntryHelper()
Method Detail

setAttribute

public void setAttribute(Object attr)
an alternative name for the key.

Parameters:
attr - the attribute name

setAttr

public void setAttr(Object attr)
an alternative name for the key.

Parameters:
attr - the attribute name