public class PropertyTag extends AbstractTag
Page.getProperty(java.lang.String)
,
Serialized FormModifier and Type | Field and Description |
---|---|
private String |
defaultValue |
private String |
propertyName |
private boolean |
writeEntireProperty |
pageContext, parent
DECORATOR, PAGE, ROBOT
Constructor and Description |
---|
PropertyTag() |
Modifier and Type | Method and Description |
---|---|
int |
doEndTag()
To be implemented by all empty tags.
|
protected String |
getProperty() |
void |
setDefault(String defaultValue)
Value to write if no property matching key is found (optional).
|
void |
setProperty(String propertyName)
Key of property to write.
|
void |
setWriteEntireProperty(String writeEntireProperty)
When begins with y, t or 1, the full attribute (name + value) is written.
|
doStartTag, getOut, getPage, getParent, release, setPageContext, setParent, trace
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
private String propertyName
private String defaultValue
private boolean writeEntireProperty
public void setProperty(String propertyName)
protected String getProperty()
public void setDefault(String defaultValue)
public final void setWriteEntireProperty(String writeEntireProperty)
public int doEndTag()
AbstractTag
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class AbstractTag