com.lyncode.jtwig.tree.expressions
Class Selection

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

public class Selection
extends ElementList
implements Expression


Constructor Summary
Selection(Object... list)
           
 
Method Summary
 Object calculate(JtwigContext context)
           
 
Methods inherited from class com.lyncode.jtwig.tree.helper.ElementList
add, getList, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Selection

public Selection(Object... list)
Method Detail

calculate

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


Copyright © 2014. All Rights Reserved.