com.jclark.xsl.expr
Class AppendExpr

java.lang.Object
  extended by com.jclark.xsl.expr.ConvertibleExpr
      extended by com.jclark.xsl.expr.ConvertibleStringExpr
          extended by com.jclark.xsl.expr.AppendExpr
All Implemented Interfaces:
StringExpr

 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
 java.lang.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
makeNodeSetExpr, makePredicateExpr
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppendExpr

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

Method Detail

eval

public java.lang.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

Returns:
the resulting String
Throws:
XSLException