jd.xml.xslt.template
Class Choose

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

public class Choose
extends Template

A template class.

 <xsl:choose>
  <!-- Content: (xsl:when+, xsl:otherwise?) -->
 </xsl:choose>
 


Constructor Summary
Choose(Condition[] when, Template otherwise)
          Create a Choose object.
 
Method Summary
 void accept(TemplateVisitor visitor)
           
 void instantiate(XsltContext context, ResultBuilder resultBuilder)
          Instantiate the template.
 
Methods inherited from class jd.xml.xslt.template.Template
addChild, addNext, allowTailRecursion, 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

Choose

public Choose(Condition[] when,
              Template otherwise)
Create a Choose object.

Method Detail

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