org.japano.pagenode.jstl.core
Class If

java.lang.Object
  extended by org.japano.PageNode
      extended by org.japano.pagenode.jstl.core.If

public class If
extends PageNode

Version:
$Id: If.java,v 1.3 2005/09/27 21:30:51 fforw Exp $ SourceForge.net Logo
Author:
Sven Helmberger ( sven dot helmberger at gmx dot de )

Nested Class Summary
 
Nested classes/interfaces inherited from class org.japano.PageNode
PageNode.Output
 
Field Summary
 
Fields inherited from class org.japano.PageNode
children, context, EMPTY, nodeId, parent
 
Constructor Summary
If()
           
 
Method Summary
 void generate(Buffer out)
          Generates this node The base implementation just calls PageNode.generateChildren(Buffer)
 void setScope(java.lang.String scope)
          Scope for var.
 void setTest(boolean test)
          The test condition that determines whether or not the body content should be processed.
 void setVar(java.lang.String var)
          Name of the exported scoped variable for the resulting value of the test condition.
 
Methods inherited from class org.japano.PageNode
findChildren, findParent, findRootNode, generateChildren, getChildren, getContext, getNodeId, getParent, init, recInit, release, setChildren, setContext, setNodeId, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

If

public If()
Method Detail

setTest

public void setTest(boolean test)
The test condition that determines whether or not the body content should be processed.


setVar

public void setVar(java.lang.String var)
Name of the exported scoped variable for the resulting value of the test condition. The type of the scoped variable is Boolean.


setScope

public void setScope(java.lang.String scope)
Scope for var.


generate

public void generate(Buffer out)
Description copied from class: PageNode
Generates this node The base implementation just calls PageNode.generateChildren(Buffer)

Overrides:
generate in class PageNode