public class PropertyTag extends AbstractTag
Page.getProperty(java.lang.String),
Serialized Form| Modifier and Type | Field and Description |
|---|---|
private String |
defaultValue |
private String |
propertyName |
private boolean |
writeEntireProperty |
pageContext, parentDECORATOR, 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, tracedoAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContentprivate 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()
AbstractTagdoEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class AbstractTag