| java.lang.Object com.metaboss.javatemplate.JavaTemplateContextMapImpl
JavaTemplateContextMapImpl | public class JavaTemplateContextMapImpl implements JavaTemplateContext(Code) | | This class is the simplest possible implementation of the JavaTemplateContext.
It implements the context container backed by a java.util.Map
|
JavaTemplateContextMapImpl | public JavaTemplateContextMapImpl(Map pContextMap) throws JavaTemplateException(Code) | | Constructs the context implementation based on context map
|
getMandatoryObject | public Object getMandatoryObject(String pContextPath) throws JavaTemplateException(Code) | | Returns object with specified path name. If object not found
it throws JavaTemplateException with an appropriate message.
|
getMandatoryString | public String getMandatoryString(String pContextPath) throws JavaTemplateException(Code) | | Returns string with specified path name. If string not found
it throws JavaTemplateException with an appropriate message.
This method will basically find an object in exact same way as getMandatoryObject() does and
than return toString() from it.
|
getObject | public Object getObject(String pContextPath, Object pDefaultObject) throws JavaTemplateException(Code) | | Returns object with specified path name or supplied default object, if
object with this name is not found in context.
|
getString | public String getString(String pContextPath, String pDefaultString) throws JavaTemplateException(Code) | | Returns string with specified path name or supplied default string, if
string with this name is not found in context. This method will basically
find an object in exact same way as getObject() does and than return toString() from it.
|
|
|