com.jclark.xsl.expr

Class AppendExpr

Implemented Interfaces:
StringExpr

(package private) class AppendExpr
extends ConvertibleStringExpr

Represents the concatenation of two String Expressions

Constructor Summary

AppendExpr(StringExpr expr1, StringExpr expr2)
construct with two XPath expressions which evaluate to Strings

Method Summary

String
eval(Node node, ExprContext context)
evaluate each of the two sub-expressions with the given context Node and given context, return the concatenation of the results of each evaluation

Methods inherited from class com.jclark.xsl.expr.ConvertibleStringExpr

constantValue, makeBooleanExpr, makeNumberExpr, makeStringExpr, makeVariantExpr

Methods inherited from class com.jclark.xsl.expr.ConvertibleExpr

makeBooleanExpr, makeNodeSetExpr, makeNumberExpr, makePredicateExpr, makeStringExpr, makeVariantExpr

Constructor Details

AppendExpr

(package private)  AppendExpr(StringExpr expr1,
                              StringExpr expr2)
construct with two XPath expressions which evaluate to Strings

Method Details

eval

public String eval(Node node,
                   ExprContext context)
            throws XSLException
evaluate each of the two sub-expressions with the given context Node and given context, return the concatenation of the results of each evaluation
Specified by:
eval in interface StringExpr