This project has retired. For details please refer to its Attic page.
GetAsStringTag (Tiles 2 2.1.4 API)

org.apache.tiles.jsp.taglib
Class GetAsStringTag

Package class diagram package GetAsStringTag
java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.apache.tiles.jsp.taglib.TilesBodyTag
              extended by org.apache.tiles.jsp.taglib.RenderTag
                  extended by org.apache.tiles.jsp.taglib.InsertAttributeTag
                      extended by org.apache.tiles.jsp.taglib.GetAsStringTag
All Implemented Interfaces:
Serializable, BodyTag, IterationTag, JspTag, Tag, TryCatchFinally, PutAttributeTagParent, PutListAttributeTagParent

public class GetAsStringTag
extends InsertAttributeTag

Retrieve the value of the specified definition/template attribute property, and render it to the current JspWriter as a String. The usual toString() conversion is applied on the found value.

Version:
$Rev: 637434 $ $Date: 2008-03-15 16:48:38 +0100 (sab, 15 mar 2008) $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.tiles.jsp.taglib.InsertAttributeTag
attribute, defaultValue, defaultValueRole, defaultValueType, name, value
 
Fields inherited from class org.apache.tiles.jsp.taglib.RenderTag
attributeContext, container, flush, ignore, preparer, role
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
GetAsStringTag()
           
 
Method Summary
protected  void render(Attribute attr)
          Renders an attribute for real.
 
Methods inherited from class org.apache.tiles.jsp.taglib.InsertAttributeTag
doStartTag, getDefaultValue, getDefaultValueRole, getDefaultValueType, getName, getValue, render, reset, setDefaultValue, setDefaultValueRole, setDefaultValueType, setName, setValue, startContext
 
Methods inherited from class org.apache.tiles.jsp.taglib.RenderTag
doEndTag, endContext, getPreparer, getRole, isFlush, isIgnore, processNestedTag, processNestedTag, setFlush, setIgnore, setPreparer, setRole
 
Methods inherited from class org.apache.tiles.jsp.taglib.TilesBodyTag
doCatch, doFinally, release
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

GetAsStringTag

public GetAsStringTag()
Method Detail

render

protected void render(Attribute attr)
               throws IOException
Renders an attribute for real.

Overrides:
render in class InsertAttributeTag
Parameters:
attr - The attribute to render.
Throws:
IOException - If something goes wrong during the reading of definition files.


Copyright © 2001-2009 Apache Software Foundation. All Rights Reserved.