net.sf.jxls.parser
Class Expression

java.lang.Object
  extended by net.sf.jxls.parser.Expression

public class Expression
extends java.lang.Object

Represents JEXL expression

Author:
Leonid Vysochyn

Field Summary
(package private)  java.lang.String aggregateField
           
(package private)  java.lang.String aggregateFunction
           
(package private)  java.util.Map beans
           
(package private)  Property collectionProperty
           
(package private)  Configuration config
           
(package private)  java.lang.String expression
           
(package private)  org.apache.commons.jexl.Expression jexlExpresssion
           
(package private)  java.util.List properties
           
(package private)  java.lang.String rawExpression
           
 
Constructor Summary
Expression(java.lang.String expression, Configuration config)
           
Expression(java.lang.String expression, java.util.Map beans, Configuration config)
           
 
Method Summary
 java.lang.Object evaluate()
           
 Property getCollectionProperty()
           
 java.lang.String getExpression()
           
 java.util.List getProperties()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

expression

java.lang.String expression

rawExpression

java.lang.String rawExpression

aggregateFunction

java.lang.String aggregateFunction

aggregateField

java.lang.String aggregateField

beans

java.util.Map beans

properties

java.util.List properties

jexlExpresssion

org.apache.commons.jexl.Expression jexlExpresssion

config

Configuration config

collectionProperty

Property collectionProperty
Constructor Detail

Expression

public Expression(java.lang.String expression,
                  Configuration config)

Expression

public Expression(java.lang.String expression,
                  java.util.Map beans,
                  Configuration config)
           throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getCollectionProperty

public Property getCollectionProperty()

getProperties

public java.util.List getProperties()

getExpression

public java.lang.String getExpression()

evaluate

public java.lang.Object evaluate()
                          throws java.lang.Exception
Throws:
java.lang.Exception

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright 2005-2005-2007 jXLS Team. All Rights Reserved.