|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.servlet.jsp.tagext.TagSupport | +--com.beasys.commerce.content.tags.BaseTag | +--com.beasys.commerce.content.tags.PrintPropertyTag
Tag to print a property of a Content.
Constructor Summary | |
PrintPropertyTag()
|
Method Summary | |
int |
doStartTag()
Start the tag. |
java.lang.String |
encode(java.lang.String in)
Encode a string with the current encodeType. |
static java.lang.String |
encode(java.lang.String encodeType,
java.lang.String in)
|
java.lang.String |
getDateFormat()
Get the date format to use. |
java.lang.String |
getDefault()
Get the default value. |
java.lang.String |
getEncode()
Get the value of encode. |
java.lang.String |
getMaxLength()
Get the value of maxLength. |
java.lang.String |
getName()
Get the value of name. |
java.lang.String |
getNumFormat()
Get the number format to use. |
java.lang.String |
getScope()
Get the value of scope. |
void |
release()
Release the tag. |
void |
setDateFormat(java.lang.String s)
Set the date format to use. |
void |
setDefault(java.lang.String v)
Set the default value. |
void |
setEncode(java.lang.String v)
Set the value of encode. |
void |
setMaxLength(java.lang.String v)
Set the value of maxLength. |
void |
setName(java.lang.String v)
Set the value of name. |
void |
setNumFormat(java.lang.String s)
Set the number format to use. |
void |
setScope(java.lang.String v)
Set the value of scope. |
java.lang.String |
toString(java.util.Date d)
Convert a date to our date format. |
java.lang.String |
toString(java.lang.Number n)
Convert a number to our date format. |
java.lang.String |
toString(java.lang.Object obj)
Convert an object property value to a string with our current formatting. |
Methods inherited from class com.beasys.commerce.content.tags.BaseTag |
getCacheId,
getCacheTimeout,
getFailOnError,
getHttpSession,
getReadOnly,
getUseCache,
setCacheId,
setCacheTimeout,
setCacheTimeout,
setFailOnError,
setFailOnError,
setReadOnly,
setReadOnly,
setUseCache,
setUseCache |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doEndTag,
findAncestorWithClass,
getId,
getParent,
getValue,
getValues,
removeValue,
setId,
setPageContext,
setParent,
setValue |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public PrintPropertyTag()
Method Detail |
public int doStartTag() throws javax.servlet.jsp.JspException
public void release()
public java.lang.String getName()
public void setName(java.lang.String v)
v
- Value to assign to name.public java.lang.String getScope()
public void setScope(java.lang.String v)
v
- Value to assign to scope.public java.lang.String getDefault()
public void setDefault(java.lang.String v)
public java.lang.String getEncode()
public void setEncode(java.lang.String v)
v
- Value to assign to encode.public java.lang.String getMaxLength()
public void setMaxLength(java.lang.String v)
v
- Value to assign to maxLength.public java.lang.String getDateFormat()
public void setDateFormat(java.lang.String s)
public java.lang.String getNumFormat()
public void setNumFormat(java.lang.String s)
public java.lang.String toString(java.lang.Object obj) throws javax.servlet.jsp.JspException
getDefault()
,
toString(java.util.Date)
,
toString(java.lang.Number)
public java.lang.String toString(java.util.Date d) throws javax.servlet.jsp.JspException
public java.lang.String toString(java.lang.Number n) throws javax.servlet.jsp.JspException
public java.lang.String encode(java.lang.String in)
public static java.lang.String encode(java.lang.String encodeType, java.lang.String in)
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |