|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.jxml.qare.qhome.Template
This class provides the functionality for complete processing of template .
Field Summary | |
static String[] |
E
|
static String |
EV
|
Map |
properties
|
Constructor Summary | |
Template()
|
Method Summary | |
void |
check(String t)
Throws an exception when text contains markup characters |
void |
content(String t)
Append content, encode markup characters. |
static String |
cvt(String t)
Encode markup characters. |
void |
eval(Map properties,
List args,
ClassLoader cl)
Evaluates the properties with the list of argumants |
void |
expand(String template)
Expands the template data |
void |
expandProperty(String propertyName)
Expands the property specified by the propertyName |
void |
expandURL(String templateName)
Expands the URL specified by the templateName |
void |
init(Map properties,
List args)
Initializes the properties |
void |
markup(String t)
Append markup. |
abstract String |
process(String arg)
|
String |
readURL(String templateName)
Returns the string containing the template data |
static void |
redirectToAppDir(Map properties)
|
static void |
redirectToDelegationDisplay(Map properties)
|
static void |
redirectToDelegationDisplayUG(Map properties)
|
static void |
redirectToLogin(Map properties)
|
static void |
redirectToRemoteAccountDisplay(Map properties)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String EV
public static final String[] E
public Map properties
Constructor Detail |
public Template()
Method Detail |
public static String cvt(String t)
public void check(String t) throws Exception
public static void redirectToAppDir(Map properties) throws Exception
public static void redirectToLogin(Map properties) throws Exception
public static void redirectToDelegationDisplay(Map properties) throws Exception
public static void redirectToDelegationDisplayUG(Map properties) throws Exception
public static void redirectToRemoteAccountDisplay(Map properties) throws Exception
public void markup(String t)
public void content(String t)
public void eval(Map properties, List args, ClassLoader cl) throws Exception
eval
in interface Item
properties
- Contains the data in the form of name,value pair.args
- Template name present in properties.cl
- class to be loaded for individual plugins.public void init(Map properties, List args)
properties
- Contains the data in the form of name,value pair.args
- Template name present in properties.public void expandProperty(String propertyName) throws Exception
public void expandURL(String templateName) throws Exception
public String readURL(String templateName)
public void expand(String template) throws Exception
public abstract String process(String arg) throws Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |