net.sf.jameleon
Class AbstractParamElementTag
java.lang.Object
org.apache.commons.jelly.TagSupport
net.sf.jameleon.AbstractParamElementTag
- All Implemented Interfaces:
- Tag
- Direct Known Subclasses:
- ParamNameTag, ParamTypeTag, ParamValueTag
public abstract class AbstractParamElementTag
- extends TagSupport
Abstract class that represents children of a ParamTag.
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 |
text
protected String text
parentTag
protected ParamTag parentTag
decodeXMLToText
protected boolean decodeXMLToText
fromVariable
protected String fromVariable
AbstractParamElementTag
public AbstractParamElementTag()
doTag
public void doTag(XMLOutput out)
throws MissingAttributeException,
JellyTagException
- An implementation of the
doTag
method provided by the TagSupport
class.
Maps the value in the fromVariable
over to the original variable name, toVariable
.
- Throws:
MissingAttributeException
JellyTagException
validate
protected void validate()
throws MissingAttributeException,
JellyTagException
- Used to validate everything is set up correctly.
- Throws:
MissingAttributeException
- - When a required attribute isn't set.
JellyTagException
- - When this tag is used out of context.
validateParentTag
protected void validateParentTag()
throws JellyTagException
- Throws:
JellyTagException
validateParam
protected void validateParam()
throws JellyTagException
- Throws:
JellyTagException
setDecodeXMLToText
public void setDecodeXMLToText(boolean decodeXMLToText)
setFromVariable
public void setFromVariable(String fromVariable)
Copyright © 2003-2008 Christian Hargraves. All Rights Reserved.