org.ujac.web.tag
Class SetPropertyTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.ujac.web.tag.BaseTag
org.ujac.web.tag.SetPropertyTag
- All Implemented Interfaces:
- Serializable, BodyTag, IterationTag, Tag, TemplateContextHolder
public class SetPropertyTag
- extends BaseTag
Name: SetPropertyTag
Description: Class handling the set-property tag.
- Author:
- lauerc
- See Also:
- Serialized Form
| Fields inherited from class org.ujac.web.tag.BaseTag |
log |
| Methods inherited from class org.ujac.web.tag.BaseTag |
clearTagAttributes, doStartTag, getParent, getTagAttribute, getTagAttributes, getTemplateContext, release, removeTagAttribute, setAttribute, setTagAttribute, writeAttributes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SetPropertyTag
public SetPropertyTag()
getName
public String getName()
- Getter method for the the property name.
- Returns:
- The current value of property name.
setName
public void setName(String name)
- Setter method for the the property name.
- Parameters:
name - The value to set for the property name.
getType
public String getType()
- Getter method for the the property type.
- Returns:
- The current value of property type.
setType
public void setType(String type)
- Setter method for the the property type.
- Parameters:
type - The value to set for the property type.
doEndTag
public int doEndTag()
throws JspException
- Specified by:
doEndTag in interface Tag- Overrides:
doEndTag in class BodyTagSupport
- Throws:
JspException- See Also:
BodyTagSupport.doEndTag()
isStructureChecksDisabled
public boolean isStructureChecksDisabled()
- See Also:
BaseDocumentTag.isStructureChecksDisabled()
typeCastValue
protected Object typeCastValue(TemplateContext tctx,
String text,
String type)
throws JspException
- Gets a well typed value for the given one.
- Parameters:
text - The text to parse the value from.type - The type name to cast to.
- Returns:
- The correctly typed value.
- Throws:
DocumentHandlerException - In case the type conversion failed.
JspException
Copyright © 2003-2004 UJAC.org. All Rights Reserved.