|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjd.xml.xslt.template.Template
jd.xml.xslt.template.Condition
A template for the definitions:
<xsl:if test = boolean-expression> <!-- Content: template --> </xsl:if>and
<xsl:when test = boolean-expression> <!-- Content: template --> </xsl:when>
| Constructor Summary | |
Condition(Expression test,
Template template)
Create a Condition. |
|
| Method Summary | |
void |
accept(TemplateVisitor visitor)
|
void |
instantiate(XsltContext context,
ResultBuilder resultBuilder)
Instantiate the template. |
boolean |
test(XsltContext context,
ResultBuilder resultBuilder)
Instantiate the content if the condition evaluates to true. |
| 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 |
public Condition(Expression test,
Template template)
| Method Detail |
public void accept(TemplateVisitor visitor)
accept in class Template
public void instantiate(XsltContext context,
ResultBuilder resultBuilder)
instantiate in class Template
public boolean test(XsltContext context,
ResultBuilder resultBuilder)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||