net.sf.jameleon
Class AbstractParamElementTag

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


Field Summary
protected  boolean decodeXMLToText
           
protected  String fromVariable
           
protected  ParamTag parentTag
           
protected  String text
           
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
AbstractParamElementTag()
           
 
Method Summary
 void doTag(XMLOutput out)
          An implementation of the doTag method provided by the TagSupport class.
 void setDecodeXMLToText(boolean decodeXMLToText)
           
 void setFromVariable(String fromVariable)
           
protected  void validate()
          Used to validate everything is set up correctly.
protected  void validateParam()
           
protected  void validateParentTag()
           
 
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

text

protected String text

parentTag

protected ParamTag parentTag

decodeXMLToText

protected boolean decodeXMLToText

fromVariable

protected String fromVariable
Constructor Detail

AbstractParamElementTag

public AbstractParamElementTag()
Method Detail

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.