|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport javax.servlet.jsp.tagext.BodyTagSupport org.dbforms.taglib.AbstractScriptHandlerTag org.dbforms.taglib.AbstractDbBaseHandlerTag org.dbforms.taglib.TextFormatterUtil
public class TextFormatterUtil
Special class for TextFormatting
Field Summary |
---|
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
---|
bodyContent |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
---|
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
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 | |
---|---|
protected |
TextFormatterUtil(Field field,
Locale locale,
String pattern,
Object obj)
Creates a new TextFormatter object. |
Method Summary | |
---|---|
static String |
FormatText(Field field,
HttpServletRequest request,
String pattern,
Object obj)
DOCUMENT ME! |
static String |
FormatText(Field field,
Locale locale,
String pattern,
Object obj)
DOCUMENT ME! |
protected Object |
getFieldObject()
DOCUMENT ME! |
String |
getFormattedFieldValue()
DOCUMENT ME! |
String |
getFormFieldName(DbFormTag parentForm)
DOCUMENT ME! |
protected Locale |
getLocale()
DOCUMENT ME! |
String |
renderPatternHtmlInputField()
DOCUMENT ME! |
Methods inherited from class org.dbforms.taglib.AbstractScriptHandlerTag |
---|
doCatch, getAccessKey, getConfig, getOnBlur, getOnChange, getOnClick, getOnDblClick, getOnFocus, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnMouseDown, getOnMouseMove, getOnMouseOut, getOnMouseOver, getOnMouseUp, getOnSelect, getStyle, getTabIndex, getTitle, prepareEventHandlers, prepareStyles, setAccessKey, setOnBlur, setOnChange, setOnClick, setOnDblClick, setOnFocus, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setOnSelect, setStyle, setStyleClass, setTabIndex, setTitle |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
---|
doAfterBody, doEndTag, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContent |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
---|
getParent, setPageContext |
Constructor Detail |
---|
protected TextFormatterUtil(Field field, Locale locale, String pattern, Object obj)
field
- DOCUMENT ME!locale
- DOCUMENT ME!pattern
- DOCUMENT ME!obj
- DOCUMENT ME!Method Detail |
---|
public static String FormatText(Field field, Locale locale, String pattern, Object obj)
field
- DOCUMENT ME!locale
- DOCUMENT ME!pattern
- DOCUMENT ME!obj
- DOCUMENT ME!
public static String FormatText(Field field, HttpServletRequest request, String pattern, Object obj)
field
- DOCUMENT ME!request
- DOCUMENT ME!pattern
- DOCUMENT ME!obj
- DOCUMENT ME!
public String getFormFieldName(DbFormTag parentForm)
parentForm
- DOCUMENT ME!
public String getFormattedFieldValue()
getFormattedFieldValue
in class AbstractDbBaseHandlerTag
public String renderPatternHtmlInputField()
renderPatternHtmlInputField
in class AbstractDbBaseHandlerTag
protected Object getFieldObject()
getFieldObject
in class AbstractDbBaseHandlerTag
protected Locale getLocale()
getLocale
in class AbstractDbBaseHandlerTag
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |