com.lyncode.jtwig.tree.expressions
Class Variable

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

public class Variable
extends Object
implements Element, Expression


Constructor Summary
Variable(String identifier)
           
 
Method Summary
 Object calculate(JtwigContext context)
           
 String getIdentifier()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Variable

public Variable(String identifier)
Method Detail

getIdentifier

public String getIdentifier()

toString

public String toString()
Overrides:
toString in class Object

calculate

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


Copyright © 2014. All Rights Reserved.