com.google.clearsilver.jsilver.functions.structure
Class SubcountFunction

java.lang.Object
  extended by com.google.clearsilver.jsilver.functions.NonEscapingFunction
      extended by com.google.clearsilver.jsilver.functions.structure.SubcountFunction
All Implemented Interfaces:
Function

public class SubcountFunction
extends NonEscapingFunction

Returns the number of child nodes for the HDF variable.


Constructor Summary
SubcountFunction()
           
 
Method Summary
 Value execute(Value... args)
          Execute a function.
 
Methods inherited from class com.google.clearsilver.jsilver.functions.NonEscapingFunction
isEscapingFunction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubcountFunction

public SubcountFunction()
Method Detail

execute

public Value execute(Value... args)
Description copied from interface: Function
Execute a function. Should always return a result.

Parameters:
args - A variable value referring to an HDF node
Returns:
Number of children


Copyright © 2010-2012 Google. All Rights Reserved.