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

java.lang.Object
  extended by org.apache.commons.jelly.TagSupport
      extended by 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

Field Summary
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, parent
 
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, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, 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 MissingAttributeException,
                  JellyTagException
Description copied from interface: Tag
Evaluates this tag after all the tags properties have been initialized.

Throws:
MissingAttributeException
JellyTagException

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 © 2011. All Rights Reserved.