com.jclark.xsl.expr
Class PositionFunction

java.lang.Object
  extended bycom.jclark.xsl.expr.Function0
      extended bycom.jclark.xsl.expr.PositionFunction
All Implemented Interfaces:
Function

class PositionFunction
extends Function0

implements the XPath position() function, which evaluates to the current node's position in the current node set


Constructor Summary
(package private) PositionFunction()
           
 
Method Summary
(package private)  ConvertibleExpr makeCallExpr()
           
 ConvertibleExpr makeCallExpr(ConvertibleExpr[] e, Node exprNode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PositionFunction

PositionFunction()
Method Detail

makeCallExpr

ConvertibleExpr makeCallExpr()
Specified by:
makeCallExpr in class Function0

makeCallExpr

public ConvertibleExpr makeCallExpr(ConvertibleExpr[] e,
                                    Node exprNode)
                             throws ParseException
Specified by:
makeCallExpr in interface Function
Throws:
ParseException