jd.xml.xslt.template
Class ForEach

java.lang.Object
  extended byjd.xml.xslt.template.Template
      extended byjd.xml.xslt.template.ForEach

public class ForEach
extends Template

A template class.

 <!-- Category: instruction -->
 <xsl:for-each
      select = node-set-expression>
      <!-- Content: (xsl:sort*, template) -->
 </xsl:for-each>
 


Constructor Summary
ForEach(Expression select, Sort sort, Template template)
          Create a ForEach object.
 
Method Summary
 void accept(TemplateVisitor visitor)
           
 boolean allowTailRecursion()
          Return false.
 void instantiate(XsltContext context, ResultBuilder resultBuilder)
          Instantiate the template.
 
Methods inherited from class jd.xml.xslt.template.Template
addChild, addNext, getNext, getParent, instantiate, instantiate, toString, transferRelations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ForEach

public ForEach(Expression select,
               Sort sort,
               Template template)
Create a ForEach object.

Method Detail

allowTailRecursion

public boolean allowTailRecursion()
Return false.

Overrides:
allowTailRecursion in class Template

accept

public void accept(TemplateVisitor visitor)
Specified by:
accept in class Template

instantiate

public void instantiate(XsltContext context,
                        ResultBuilder resultBuilder)
Instantiate the template.

Specified by:
instantiate in class Template