|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.slim3.struts.taglib.S3Functions
public class S3Functions
JSP functions of Slim3.
| Constructor Summary | |
|---|---|
S3Functions()
|
|
| Method Summary | |
|---|---|
static String |
br(String input)
Converts line break to br tag. |
static Date |
date(String input,
String pattern)
Converts string that could be interpreted as Date. |
static String |
escape(String input)
Escapes string that could be interpreted as HTML. |
static String |
h(Object input)
Escapes string that could be interpreted as HTML. |
static String |
nbsp(String input)
Converts space that could be interpreted as HTML. |
static Number |
number(String input,
String pattern)
Converts string that could be interpreted as Number. |
static String |
u(String input)
Encodes string that could be interpreted as URL. |
static String |
url(String input)
Returns context-relative URL. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public S3Functions()
| Method Detail |
|---|
public static String h(Object input)
input - the input value
public static String escape(String input)
input - the input value
public static String u(String input)
input - the input value
public static String url(String input)
input - the input value
public static Date date(String input,
String pattern)
throws NullPointerException,
RuntimeException
input - the input valuepattern - the date format pattern
NullPointerException - if the pattern parameter is null
RuntimeException - if ParseException occurs
public static Number number(String input,
String pattern)
throws NullPointerException,
RuntimeException
input - the input valuepattern - the decimal format pattern
NullPointerException - if the pattern parameter is null
RuntimeException - if ParseException occurspublic static String br(String input)
input - the input value
public static String nbsp(String input)
input - the input value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||