com.jclark.xsl.expr
Class CountFunction

java.lang.Object
  extended bycom.jclark.xsl.expr.Function1
      extended bycom.jclark.xsl.expr.CountFunction
All Implemented Interfaces:
Function

class CountFunction
extends Function1

Represents the XPath Function: number count(node-set) The count function returns the number of nodes in the argument node-set.


Constructor Summary
(package private) CountFunction()
           
 
Method Summary
(package private)  ConvertibleExpr makeCallExpr(ConvertibleExpr e)
           
 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

CountFunction

CountFunction()
Method Detail

makeCallExpr

ConvertibleExpr makeCallExpr(ConvertibleExpr e)
                       throws ParseException
Specified by:
makeCallExpr in class Function1
Throws:
ParseException

makeCallExpr

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