org.apache.cocoon.template.expression
Class JXTExpression

java.lang.Object
  extended by org.apache.cocoon.template.expression.Subst
      extended by org.apache.cocoon.template.expression.JXTExpression

public class JXTExpression
extends Subst

Version:
$Id: JXTExpression.html 1304258 2012-03-23 10:09:27Z ilgrosso $

Field Summary
static Iterator EMPTY_ITER
           
static Iterator NULL_ITER
           
 
Constructor Summary
JXTExpression(String raw, Object expr)
           
 
Method Summary
 Boolean getBooleanValue(ExpressionContext expressionContext)
           
 Object getCompiledExpression()
           
 int getIntValue(ExpressionContext expressionContext)
           
 Iterator getIterator(ExpressionContext expressionContext)
           
 Object getNode(ExpressionContext expressionContext)
           
 Number getNumberValue(ExpressionContext expressionContext)
           
 String getRaw()
           
 String getStringValue(ExpressionContext expressionContext)
           
 Object getValue(ExpressionContext expressionContext)
           
 void setCompiledExpression(Object compiledExpression)
           
 void setLenient(Boolean lenient)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_ITER

public static final Iterator EMPTY_ITER

NULL_ITER

public static final Iterator NULL_ITER
Constructor Detail

JXTExpression

public JXTExpression(String raw,
                     Object expr)
Method Detail

getCompiledExpression

public Object getCompiledExpression()

setCompiledExpression

public void setCompiledExpression(Object compiledExpression)

getRaw

public String getRaw()

getNode

public Object getNode(ExpressionContext expressionContext)
               throws Exception
Throws:
Exception

getIterator

public Iterator getIterator(ExpressionContext expressionContext)
                     throws Exception
Throws:
Exception

getBooleanValue

public Boolean getBooleanValue(ExpressionContext expressionContext)
                        throws Exception
Throws:
Exception

getStringValue

public String getStringValue(ExpressionContext expressionContext)
                      throws Exception
Throws:
Exception

getNumberValue

public Number getNumberValue(ExpressionContext expressionContext)
                      throws Exception
Throws:
Exception

getIntValue

public int getIntValue(ExpressionContext expressionContext)
                throws Exception
Throws:
Exception

getValue

public Object getValue(ExpressionContext expressionContext)
                throws Exception
Throws:
Exception

setLenient

public void setLenient(Boolean lenient)


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.