|
terp - the Codemesh Modular Template Interpreter v1.3.309 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.codemesh.terp.api.Transformer.AbstractTransformer<java.lang.CharSequence>
com.codemesh.terp.api.Formatter.AbstractFormatter
com.codemesh.terp.api.Formatter.ToXml
public static class Formatter.ToXml
A formatter that converts a string to an XML includable representation.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.codemesh.terp.api.Formatter |
|---|
Formatter.AbstractFormatter, Formatter.Base64, Formatter.Capitalize, Formatter.Namefy, Formatter.Pad, Formatter.Remove, Formatter.Replace, Formatter.TextFormatter, Formatter.ToAscii, Formatter.ToLowercase, Formatter.ToSlug, Formatter.ToUppercase, Formatter.ToXml, Formatter.Trim |
| Nested classes/interfaces inherited from interface com.codemesh.terp.api.Transformer |
|---|
Transformer.AbstractTransformer<T>, Transformer.LineBreaker |
| Field Summary |
|---|
| Fields inherited from class com.codemesh.terp.api.Formatter.AbstractFormatter |
|---|
TO_INT, TO_STRING |
| Fields inherited from interface com.codemesh.terp.api.Transformer |
|---|
NO_ARGS, NO_PARAM_NAMES |
| Constructor Summary | |
|---|---|
Formatter.ToXml()
|
|
| Method Summary | |
|---|---|
java.lang.String |
transform(java.lang.Object item,
java.util.List args,
TerpContext ctx)
Transforms an item into another item, taking optional arguments into account. |
| Methods inherited from class com.codemesh.terp.api.Transformer.AbstractTransformer |
|---|
getItemName, getParamNames, transform, transform |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.codemesh.terp.api.Transformer |
|---|
getItemName, getParamNames, transform, transform |
| Constructor Detail |
|---|
public Formatter.ToXml()
| Method Detail |
|---|
public java.lang.String transform(java.lang.Object item,
java.util.List args,
TerpContext ctx)
item - the item to transform.args - the optional arguments.ctx - the context in which the transformation occurs.
|
terp - the Codemesh Modular Template Interpreter v1.3.309 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||