com.lyncode.jtwig.tree.expressions
Class ValueMap

java.lang.Object
  extended by com.lyncode.jtwig.tree.expressions.ValueMap
All Implemented Interfaces:
Element, Expression

public class ValueMap
extends Object
implements Element, Expression


Constructor Summary
ValueMap()
           
 
Method Summary
 boolean add(String key, Object element)
           
 Object calculate(JtwigContext context)
           
 Map<String,Object> getMap()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValueMap

public ValueMap()
Method Detail

add

public boolean add(String key,
                   Object element)

getMap

public Map<String,Object> getMap()

toString

public String toString()
Overrides:
toString in class Object

calculate

public Object calculate(JtwigContext context)
                 throws CalculateException
Specified by:
calculate in interface Expression
Throws:
CalculateException


Copyright © 2014. All Rights Reserved.