org.apache.commons.jelly.tags.dynabean
Class DynaclassTag

java.lang.Object
  |
  +--org.apache.commons.jelly.TagSupport
        |
        +--org.apache.commons.jelly.tags.dynabean.DynaclassTag
All Implemented Interfaces:
Tag

public class DynaclassTag
extends TagSupport

A tag which creates and defines and creates a DynaClass The DynaClass object is placed by name in the context, so that a DynaBean tag can use it by name to instantiate a DynaBean object

Version:
1.0
Author:
Theo Niemeijer

Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
DynaclassTag()
           
 
Method Summary
protected  void addDynaProperty(org.apache.commons.beanutils.DynaProperty prop)
           
 void doTag(XMLOutput output)
          Evaluates this tag after all the tags properties have been initialized.
 java.lang.String getVar()
           
 void setName(java.lang.String name)
          Sets the name of the new DynaClass
 void setVar(java.lang.String var)
          Sets the name of the variable to export the DynaClass instance
 
Methods inherited from class org.apache.commons.jelly.TagSupport
findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isTrim, setBody, setContext, setParent, setTrim, trimBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynaclassTag

public DynaclassTag()
Method Detail

doTag

public void doTag(XMLOutput output)
           throws java.lang.Exception
Description copied from interface: Tag
Evaluates this tag after all the tags properties have been initialized.

setName

public void setName(java.lang.String name)
Sets the name of the new DynaClass

getVar

public java.lang.String getVar()

setVar

public void setVar(java.lang.String var)
Sets the name of the variable to export the DynaClass instance

addDynaProperty

protected void addDynaProperty(org.apache.commons.beanutils.DynaProperty prop)


Copyright © 2002-2002 Apache Software Foundation. All Rights Reserved.