org.apache.cocoon.components.expression.jxpath
Class JXPathExpression

java.lang.Object
  extended by org.apache.cocoon.components.expression.jxpath.JXPathExpression
All Implemented Interfaces:
Expression

public class JXPathExpression
extends Object
implements Expression

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

Field Summary
static String LENIENT
           
 
Constructor Summary
JXPathExpression(String language, String expression)
           
 
Method Summary
 void assign(ExpressionContext context, Object value)
           
 Object evaluate(ExpressionContext context)
           
 String getExpression()
           
 String getLanguage()
           
 Object getNode(ExpressionContext context)
           
 Iterator iterate(ExpressionContext context)
           
 void setProperty(String property, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LENIENT

public static final String LENIENT
See Also:
Constant Field Values
Constructor Detail

JXPathExpression

public JXPathExpression(String language,
                        String expression)
                 throws ExpressionException
Throws:
ExpressionException
Method Detail

evaluate

public Object evaluate(ExpressionContext context)
                throws ExpressionException
Specified by:
evaluate in interface Expression
Throws:
ExpressionException

iterate

public Iterator iterate(ExpressionContext context)
                 throws ExpressionException
Specified by:
iterate in interface Expression
Throws:
ExpressionException

assign

public void assign(ExpressionContext context,
                   Object value)
            throws ExpressionException
Specified by:
assign in interface Expression
Throws:
ExpressionException

getExpression

public String getExpression()
Specified by:
getExpression in interface Expression

getLanguage

public String getLanguage()
Specified by:
getLanguage in interface Expression

setProperty

public void setProperty(String property,
                        Object value)
Specified by:
setProperty in interface Expression

getNode

public Object getNode(ExpressionContext context)
               throws ExpressionException
Specified by:
getNode in interface Expression
Throws:
ExpressionException


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