|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use RenderContext | |
---|---|
org.peaseplate.internal | |
org.peaseplate.internal.model | |
org.peaseplate.internal.transformer |
Uses of RenderContext in org.peaseplate.internal |
---|
Subinterfaces of RenderContext in org.peaseplate.internal | |
---|---|
interface |
BuildContext
The context for building a template from chunks. |
Uses of RenderContext in org.peaseplate.internal.model |
---|
Classes in org.peaseplate.internal.model that implement RenderContext | |
---|---|
class |
AbstractRenderContext
|
class |
DefaultBuildContext
An abstract implementation of the execution context |
Uses of RenderContext in org.peaseplate.internal.transformer |
---|
Methods in org.peaseplate.internal.transformer with parameters of type RenderContext | |
---|---|
java.lang.String |
FormatTransformers.currency(RenderContext context,
java.lang.Number value)
Formats the value as currency using the NumberFormat
and the locale from the context |
java.lang.String |
FormatTransformers.date(RenderContext context,
java.util.Date value,
java.lang.String pattern)
Formats the date using the SimpleDateFormat and
the locale fomr the context and the pattern |
java.lang.String |
MessageTransformers.date(RenderContext context,
java.util.Date value,
java.lang.String messageKey)
|
java.lang.String |
FormatTransformers.fullDate(RenderContext context,
java.util.Date value)
Formats the date as full date using the DateFormat
and the locale from the context |
java.lang.String |
FormatTransformers.fullDateTime(RenderContext context,
java.util.Date value)
Formats the date as full date/time using the DateFormat
and the locale from the context |
java.lang.String |
FormatTransformers.fullTime(RenderContext context,
java.util.Date value)
Formats the date as full time using the DateFormat
and the locale from the context |
java.lang.String |
EncodeTransformers.html(RenderContext context,
java.lang.Object value)
Encodes the value using HTML entities. |
java.lang.String |
EncodeTransformers.html(RenderContext context,
java.lang.Object value,
boolean encodeCRLF)
Encodes the value using HTML entities. |
java.lang.String |
EncodeTransformers.html(RenderContext context,
java.lang.Object value,
boolean encodeCRLF,
boolean encodeSpace,
int encodeTabBy)
Encodes the value using HTML entities |
java.lang.String |
FormatTransformers.integer(RenderContext context,
java.lang.Number value)
Formats the value as integer using the NumberFormat
and the locale from the context |
java.lang.String |
EncodeTransformers.javaScript(RenderContext context,
java.lang.Object value)
Encodes the value to be used in Javascript strings. |
java.lang.String |
EncodeTransformers.json(RenderContext context,
java.lang.Object value)
Encodes the value to be used in JSON strings. |
java.lang.String |
FormatTransformers.longDate(RenderContext context,
java.util.Date value)
Formats the date as long date using the DateFormat
and the locale from the context |
java.lang.String |
FormatTransformers.longDateTime(RenderContext context,
java.util.Date value)
Formats the date as long date/time using the DateFormat
and the locale from the context |
java.lang.String |
FormatTransformers.longTime(RenderContext context,
java.util.Date value)
Formats the date as long time using the DateFormat
and the locale from the context |
java.lang.String |
FormatTransformers.mediumDate(RenderContext context,
java.util.Date value)
Formats the date as medium date using the DateFormat
and the locale from the context |
java.lang.String |
FormatTransformers.mediumDateTime(RenderContext context,
java.util.Date value)
Formats the date as medium date/time using the DateFormat
and the locale from the context |
java.lang.String |
FormatTransformers.mediumTime(RenderContext context,
java.util.Date value)
Formats the date as medium time using the DateFormat
and the locale from the context |
java.lang.String |
FormatTransformers.number(RenderContext context,
java.lang.Number value)
Formats the value using the DecimalFormat and the locale from the context |
java.lang.String |
FormatTransformers.number(RenderContext context,
java.lang.Number value,
java.lang.String pattern)
Formats the value using the DecimalFormat and the locale from the context
and the specified pattern |
java.lang.String |
MessageTransformers.number(RenderContext context,
java.lang.Number value,
java.lang.String messageKey)
|
java.lang.String |
FormatTransformers.percent(RenderContext context,
java.lang.Number value)
Formats the value as percentage using the NumberFormat
and the locale from the context |
java.lang.String |
FormatTransformers.shortDate(RenderContext context,
java.util.Date value)
Formats the date as short date using the DateFormat
and the locale from the context |
java.lang.String |
FormatTransformers.shortDateTime(RenderContext context,
java.util.Date value)
Formats the date as short date/time using the DateFormat
and the locale from the context |
java.lang.String |
FormatTransformers.shortTime(RenderContext context,
java.util.Date value)
Formats the date as short time using the DateFormat
and the locale from the context |
java.lang.Object |
OnEmptyTransformer.transform(RenderContext context,
java.lang.Object value,
java.lang.Object replacement)
|
java.lang.String |
MessageTransformers.transform(RenderContext context,
java.lang.String key,
java.lang.Object... values)
|
java.lang.String |
EncodeTransformers.xml(RenderContext context,
java.lang.Object value)
Encodes the value using XML entities |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |