net.sf.jameleon
Class ParamValueTag

java.lang.Object
  extended by org.apache.commons.jelly.TagSupport
      extended by net.sf.jameleon.AbstractParamElementTag
          extended by net.sf.jameleon.ParamValueTag
All Implemented Interfaces:
Tag
Direct Known Subclasses:
SqlParamValueTag

public class ParamValueTag
extends AbstractParamElementTag

Gives the parameter a value. For example:

      <param>
          <param-name>someName</param-name>
          <param-value>foo</param-value>
      </param>
 

Tag Name: <param-value>

Field Summary
 
Fields inherited from class net.sf.jameleon.AbstractParamElementTag
decodeXMLToText, fromVariable, parentTag, text
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
ParamValueTag()
           
 
Method Summary
 void doTag(XMLOutput out)
          An implementation of the doTag method provided by the TagSupport class.
 
Methods inherited from class net.sf.jameleon.AbstractParamElementTag
setDecodeXMLToText, setFromVariable, validate, validateParam, 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
 

Constructor Detail

ParamValueTag

public ParamValueTag()
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.

Specified by:
doTag in interface Tag
Overrides:
doTag in class AbstractParamElementTag
Throws:
MissingAttributeException
JellyTagException


Copyright © 2003-2008 Christian Hargraves. All Rights Reserved.