Save This Page
Home » freemarker-2.3.13 » freemarker.core » [javadoc | source]
freemarker.core
final class: IteratorBlock [javadoc | source]
java.lang.Object
   freemarker.core.TemplateObject
      freemarker.core.TemplateElement
         freemarker.core.IteratorBlock

All Implemented Interfaces:
    TreeNode

An instruction that processes a list or foreach block
Nested Class Summary:
class  IteratorBlock.Context  A helper class that holds the context of the loop. 
Fields inherited from freemarker.core.TemplateElement:
parent,  nestedBlock,  nestedElements
Fields inherited from freemarker.core.TemplateObject:
beginColumn,  beginLine,  endColumn,  endLine
Constructor:
 IteratorBlock(Expression listExpression,
    String indexName,
    TemplateElement nestedBlock,
    boolean isForEach) 
    Parameters:
    listExpression - a variable referring to a sequence or collection
    indexName - an arbitrary index variable name
    nestedBlock - the nestedBlock to iterate over
Method from freemarker.core.IteratorBlock Summary:
accept,   getCanonicalForm,   getDescription
Methods from freemarker.core.TemplateElement:
accept,   children,   getAllowsChildren,   getChildAt,   getChildCount,   getChildNodes,   getDescription,   getIndex,   getNodeName,   getNodeNamespace,   getNodeType,   getParent,   getParentNode,   heedsOpeningWhitespace,   heedsTrailingWhitespace,   isIgnorable,   isLeaf,   nextSibling,   nextTerminalNode,   postParseCleanup,   prevTerminalNode,   previousSibling,   setChildAt,   setParentRecursively
Methods from freemarker.core.TemplateObject:
assertNonNull,   contains,   copyLocationFrom,   getBeginColumn,   getBeginLine,   getCanonicalForm,   getEndColumn,   getEndLine,   getEndLocation,   getSource,   getStartLocation,   getTemplate,   invalidTypeException,   setLocation,   setLocation,   setLocation,   setLocation,   setLocation,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from freemarker.core.IteratorBlock Detail:
  void accept(Environment env) throws IOException, TemplateException 
 public String getCanonicalForm() 
 public String getDescription()