org.japano.pagenode.jstl.core
Class Set

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

public class Set
extends PageNode

Version:
$Id: Set.java,v 1.4 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
Set()
           
 
Method Summary
 void generate(Buffer out)
          Generates this node The base implementation just calls PageNode.generateChildren(Buffer)
 void setProperty(java.lang.String property)
          Name of the property to be set in the target object.
 void setScope(java.lang.String scope)
          Scope for var.
 void setTarget(java.lang.Object target)
          Target object whose property will be set.
 void setValue(java.lang.Object value)
          Expression to be evaluated.
 void setVar(java.lang.String var)
          Name of the exported scoped variable to hold the value specified in the action.
 
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

Set

public Set()
Method Detail

setVar

public void setVar(java.lang.String var)
Name of the exported scoped variable to hold the value specified in the action. The type of the scoped variable is whatever type the value expression evaluates to.


setValue

public void setValue(java.lang.Object value)
Expression to be evaluated.


setTarget

public void setTarget(java.lang.Object target)
Target object whose property will be set. Must evaluate to a JavaBeans object with setter property property, or to a java.util.Map object.


setProperty

public void setProperty(java.lang.String property)
Name of the property to be set in the target object.


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