Package example
Class JteContext
java.lang.Object
example.JteContext
Dummy jte context, how you might use it in your project.
Contains helper methods for a JSP migration
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JteContext
public JteContext()
-
-
Method Details
-
isEmpty
Taken from org.apache.el.parser.AstEmpty implementation- Parameters:
obj- the object to check for JSP like emptiness
-
localize
Dummy localization method. UsuallyLocalizationSupportin a thread local will help you implement this method.- Parameters:
key- the localization key- Returns:
- a localized content
-
localize
Dummy localization method. UsuallyLocalizationSupportin a thread local will help you implement this method.- Parameters:
key- the localization keyparams- parameters for
-