|
© 2004 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport com.bea.p13n.content.servlets.jsp.taglib.BaseTag com.bea.p13n.content.servlets.jsp.taglib.GetPropertyTag
Tag to retrieve or print a property of a ConfigurableEntity.
Field Summary | |
protected String |
dateFormat
Deprecated. The date format to use. |
protected String |
defValue
Deprecated. The default value to print if the property is not found. |
protected String |
encodeType
Deprecated. The encode type. |
protected ConfigurableEntity |
entity
Deprecated. The document to use. |
protected int |
maxLength
Deprecated. The max length to print. |
protected String |
name
Deprecated. The name of the property to print. |
protected String |
numFormat
Deprecated. The number format to use. |
protected String |
resultId
Deprecated. The id of the script variable to put the result into. |
protected String |
resultType
Deprecated. The type of the property. |
protected String |
scope
Deprecated. The property set name of the property to print. |
Fields inherited from class com.bea.p13n.content.servlets.jsp.taglib.BaseTag |
cacheId, cacheScope, cacheTimeout, failOnError, readOnly, useCache |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
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 | |
GetPropertyTag()
Deprecated. |
Method Summary | |
int |
doStartTag()
Deprecated. Start the tag. |
String |
encode(String in)
Deprecated. Encode a string with the current encodeType. |
static String |
encode(String encodeType,
String in)
Deprecated. Encode a string according to the specified encodeType. |
String |
getDateFormat()
Deprecated. Get the date format to use. |
String |
getDefault()
Deprecated. Get the default value. |
String |
getEncode()
Deprecated. Get the value of encodeType . |
String |
getMaxLength()
Deprecated. Get the value of maxLength as a String. |
String |
getName()
Deprecated. Get the value of name . |
String |
getNumFormat()
Deprecated. Get the number format to use. |
String |
getResultId()
Deprecated. Get the resultId . |
String |
getResultType()
Deprecated. Get the resultType . |
String |
getScope()
Deprecated. Get the value of scope . |
void |
release()
Deprecated. Release the tag. |
void |
setDateFormat(String s)
Deprecated. Set the date format to use. |
void |
setDefault(String v)
Deprecated. Set the default value. |
void |
setEncode(String v)
Deprecated. Set the value of encodeType . |
void |
setEntity(ConfigurableEntity entity)
Deprecated. Set the entity to use. |
void |
setMaxLength(int length)
Deprecated. Set the value of maxLength . |
void |
setMaxLength(String v)
Deprecated. Set the value of maxLength . |
void |
setName(String v)
Deprecated. Set the value of name . |
void |
setNumFormat(String s)
Deprecated. Set the number format to use. |
void |
setResultId(String resultId)
Deprecated. Set the resultId . |
void |
setResultType(String resultType)
Deprecated. Set the resultType . |
void |
setScope(String v)
Deprecated. Set the value of scope . |
String |
toString(Date d)
Deprecated. Convert a date to our date format. |
String |
toString(Number n)
Deprecated. Convert a number to our date format. |
String |
toString(Object obj)
Deprecated. Convert an object property value to a string with our current formatting. |
Methods inherited from class com.bea.p13n.content.servlets.jsp.taglib.BaseTag |
getCacheId, getCacheScope, getCacheTimeout, getFailOnError, getHttpSession, getReadOnly, getUseCache, getUserId, setCacheId, setCacheScope, setCacheTimeout, setCacheTimeout, setFailOnError, setFailOnError, setReadOnly, setReadOnly, setUseCache, setUseCache, toDictionary |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, 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 |
Field Detail |
protected String dateFormat
protected String defValue
protected String encodeType
protected ConfigurableEntity entity
protected int maxLength
protected String name
protected String numFormat
protected String resultId
protected String resultType
protected String scope
Constructor Detail |
public GetPropertyTag()
Method Detail |
public int doStartTag() throws JspException
JspException
public String encode(String in)
public static String encode(String encodeType, String in)
encodeType
- "html", "url", or anything else for no encoding.in
- the string
public String getDateFormat()
date format
to use.
public String getDefault()
default
value.
public String getEncode()
encodeType
.
public String getMaxLength()
maxLength
as a String.
public String getName()
name
.
public String getNumFormat()
number format
to use.
public String getResultId()
resultId
.
public String getResultType()
resultType
.
public String getScope()
scope
.
public void release()
release
in interface Tag
release
in class BaseTag
public void setDateFormat(String s)
date format
to use.
public void setDefault(String v)
default
value.
public void setEncode(String v)
encodeType
.
public void setEntity(ConfigurableEntity entity)
entity
to use.
public void setMaxLength(int length)
maxLength
.
public void setMaxLength(String v)
maxLength
.
public void setName(String v)
name
.
public void setNumFormat(String s)
number format
to use.
public void setResultId(String resultId)
resultId
.
public void setResultType(String resultType)
resultType
.
public void setScope(String v)
scope
.
public String toString(Date d) throws JspException
JspException
- thrown on conversion failure when failOnError is
true.public String toString(Number n) throws JspException
JspException
- thrown on conversion failure when failOnError is
true.public String toString(Object obj) throws JspException
JspException
- thrown on conversion failure when failOnError is
true.getDefault()
,
toString(java.util.Date)
,
toString(java.lang.Number)
|
© 2004 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |