org.apache.commons.jelly.tags.define
Class TagTag

java.lang.Object
  extended by org.apache.commons.jelly.TagSupport
      extended by org.apache.commons.jelly.tags.define.DefineTagSupport
          extended by org.apache.commons.jelly.tags.define.TagTag
All Implemented Interfaces:
org.apache.commons.jelly.Tag

public class TagTag
extends DefineTagSupport

<tag> is used to define a new tag using a Jelly script to implement the behaviour of the tag. Parameters can be passed into the new tag using normal XML attribute notations. Inside the body of the tag definition, the attributes can be accessed as normal Jelly variables.

Version:
$Revision: 155420 $
Author:
James Strachan

Field Summary
private  java.lang.String name
           
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
TagTag()
           
 
Method Summary
 void doTag(org.apache.commons.jelly.XMLOutput output)
           
 java.lang.String getName()
           
 void setName(java.lang.String name)
          Sets the name of the tag to create
 
Methods inherited from class org.apache.commons.jelly.tags.define.DefineTagSupport
getTagLibrary
 
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
 

Field Detail

name

private java.lang.String name
Constructor Detail

TagTag

public TagTag()
Method Detail

doTag

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

getName

public java.lang.String getName()
Returns:
the name of the tag to create

setName

public void setName(java.lang.String name)
Sets the name of the tag to create