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

java.lang.Object
  extended byorg.apache.commons.jelly.TagSupport
      extended byorg.apache.commons.jelly.tags.dynabean.PropertyTag
All Implemented Interfaces:
org.apache.commons.jelly.Tag

public class PropertyTag
extends org.apache.commons.jelly.TagSupport

DynaProperty tag defines a property of a DynaClass It can only exist inside a DynaClass parent context The properties are added to the properties array of the parent context, and will be used to create the DynaClass object

Version:
1.0
Author:
Theo Niemeijer

Field Summary
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
PropertyTag()
           
 
Method Summary
 void doTag(org.apache.commons.jelly.XMLOutput output)
           
 java.lang.Class getPropertyClass()
          Returns the Class for this property
 void setName(java.lang.String name)
          Sets the name of this property
 void setPropertyClass(java.lang.Class propertyClass)
          Sets the Class instance for this property
 void setType(java.lang.String type)
          Sets the type name of this property
 
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

PropertyTag

public PropertyTag()
Method Detail

doTag

public void doTag(org.apache.commons.jelly.XMLOutput output)
           throws org.apache.commons.jelly.MissingAttributeException,
                  org.apache.commons.jelly.JellyTagException
Throws:
org.apache.commons.jelly.MissingAttributeException
org.apache.commons.jelly.JellyTagException

setName

public void setName(java.lang.String name)
Sets the name of this property


setType

public void setType(java.lang.String type)
Sets the type name of this property


getPropertyClass

public java.lang.Class getPropertyClass()
Returns the Class for this property


setPropertyClass

public void setPropertyClass(java.lang.Class propertyClass)
Sets the Class instance for this property



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