net.sf.jameleon
Class ParamTypeTag
java.lang.Object
org.apache.commons.jelly.TagSupport
net.sf.jameleon.AbstractParamElementTag
net.sf.jameleon.ParamTypeTag
- All Implemented Interfaces:
- Tag
public class ParamTypeTag
- extends AbstractParamElementTag
Gives the parameter a variable type.
For example:
<param>
<param-name>someName</param-name>
<param-value>foo</param-value>
<param-type>text</param-type>
</param>
It's up to the function tag to interpret the param-type. For example, in
an HTTP plug-in some types might be: checkbox, select, textarea, and etc ...
Tag Name: <param-type>
|
Method Summary |
void |
doTag(XMLOutput out)
An implementation of the doTag method provided by the TagSupport class. |
protected void |
validate()
Used to validate everything is set up correctly. |
| 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 |
ParamTypeTag
public ParamTypeTag()
doTag
public void doTag(XMLOutput out)
throws MissingAttributeException,
JellyTagException
- Description copied from class:
AbstractParamElementTag
- An implementation of the
doTag method provided by the TagSupport class.
Maps the value in the fromVariable over to the original variable name, toVariable.
- Specified by:
doTag in interface Tag- Overrides:
doTag in class AbstractParamElementTag
- Throws:
MissingAttributeException
JellyTagException
validate
protected void validate()
throws MissingAttributeException,
JellyTagException
- Description copied from class:
AbstractParamElementTag
- Used to validate everything is set up correctly.
- Overrides:
validate in class AbstractParamElementTag
- Throws:
MissingAttributeException - - When a required attribute isn't set.
JellyTagException - - When this tag is used out of context.
Copyright © 2003-2008 Christian Hargraves. All Rights Reserved.