| Frames | No Frames |
Methods which throw type freemarker.template.TemplateModelException | |
| Object | RhinoFunctionModel.exec(List arguments) |
| TemplateModel | RhinoScriptableModel.get(String key) |
| TemplateModel | RhinoScriptableModel.get(int index) |
| TemplateCollectionModel | |
| TemplateCollectionModel | |
| TemplateModel | RhinoWrapper.wrap(Object obj) |
Methods which throw type freemarker.template.TemplateModelException | |
| Object | NodeListModel.exec(List arguments) Evaluates an XPath expression on XML nodes in this model. |
| TemplateModel | NodeListModel.get(String key) Returns a new NodeListModel containing the nodes that result from applying
an operator to this model's nodes. |
| String | Returns the string representation of the wrapped nodes. |
| TemplateSequenceModel | |
| String | |
| String | |
| String | |
| TemplateNodeModel | |
Methods which throw type freemarker.template.TemplateModelException | |
| DebugModel | DebugModel.get(String key) |
| DebugModel[] | DebugModel.get(String[] keys) |
| DebugModel | DebugModel.get(int index) |
| DebugModel[] | DebugModel.get(int fromIndex, int toIndex) |
| boolean | |
| Date | |
| Number | |
| String | |
| DebugModel[] | |
| int | |
| String[] | |
| int | |
Methods which throw type freemarker.template.TemplateModelException | |
| Object | NodeListModel.exec(List arguments) Applies an XPath expression to the node list and returns the resulting node list. |
| TemplateModel | NodeListModel.get(String key) Provides node list traversal as well as special functions: filtering by name,
filtering by node type, shallow-copying, and duplicate removal. |
| TemplateModel | NodeListModel.get(int i) Retrieves the i-th element of the node list. |
| String | This method returns the string resulting from concatenation
of string representations of its nodes. |
Methods which throw type freemarker.template.TemplateModelException | |
| TemplateModel | |
| TemplateModel | XPathSupport.executeQuery(Object context, String xpathQuery) |
| TemplateModel | |
| String | |
Methods which throw type freemarker.template.TemplateModelException | |
| Object | Executes a method call. |
| Object | ObjectConstructor.exec(List args) |
| TemplateModel | DOMNodeModel.get(String key) |
| Writer | CaptureOutput.getWriter(Writer out, Map args) |
| Writer | StandardCompress.getWriter(Writer out, Map args) |
| Object | Same as unwrap(TemplateModel), but it doesn't throw exception if
it doesn't know how to unwrap
the object, but returns it as is. |
| Object | Unwraps TemplateModel-s recursively. |
Methods which throw type freemarker.template.TemplateModelException | |
| Object | JythonModel.exec(List arguments) |
| TemplateModel | JythonModel.get(String key) Calls PyObject.__findattr__(java.lang.String), then if it
returns null calls PyObject.__finditem__(java.lang.String). |
| TemplateModel | JythonSequenceModel.get(int index) Returns PyObject.__finditem__(int). |
| boolean | Returns the value of PyObject.__nonzero__(). |
| Number | Returns either PyObject.__tojava__(java.lang.Class) with
java.lang.Number.class as argument. |
| String | Returns the value of Object.toString(). |
| boolean | Returns PyObject.__len__() == 0. |
| TemplateCollectionModel | Returns either object.__findattr__("keys").__call__()
or object.__findattr__("keySet").__call__(). |
| int | Returns PyObject.__len__(). |
| int | Returns PyObject.__len__(). |
| PyObject | Coerces a template model into a PyObject. |
| TemplateCollectionModel | Returns object.__findattr__("values").__call__(). |
Methods which throw type freemarker.template.TemplateModelException | |
| Object | Environment.__getitem__(String key) A hook that Jython uses. |
| TemplateModel | CollectionAndSequence.get(int i) Retrieves the i-th template model in this sequence. |
| TemplateModel | Environment.getGlobalVariable(String name) Returns the globally visible variable of the given name (or null). |
| Set | Returns a set of variable names that are known at the time of call. |
| TemplateModel | Environment.getLocalVariable(String name) Returns the loop or macro local variable corresponding to this
variable name. |
| TemplateModel | LocalContext.getLocalVariable(String name) |
| java.util.Set | |
| TemplateModel | Environment.getVariable(String name) Returns the variable that is visible in this context. |
| TemplateModelIterator | Retrieves a template model iterator that is used to iterate over
the elements in this collection. |
| int | |
Methods which throw type freemarker.template.TemplateModelException | |
| TemplateModel | FreemarkerServlet.createModel(ObjectWrapper wrapper, ServletContext servletContext, HttpServletRequest request, HttpServletResponse response) |
| TemplateModel | AllHttpScopesHashModel.get(String key) |
| TemplateModel | HttpRequestHashModel.get(String key) |
| TemplateModel | HttpSessionHashModel.get(String key) |
| TemplateModel | ServletContextHashModel.get(String key) Gets a TemplateModel from the hash. |
| boolean | |
Constructors which throw type freemarker.template.TemplateModelException | |
Constructs a simple sequence from the passed collection model using the
default object wrapper set in
WrappingTemplateModel.setDefaultObjectWrapper(ObjectWrapper). | |
Methods which throw type freemarker.template.TemplateModelException | |
| int | Called after the body has been evaluated. |
| Object | TemplateMethodModel.exec(List arguments) Executes a method call. |
| TemplateModel | SimpleHash.get(String key) |
| TemplateModel | TemplateHashModel.get(String key) Gets a TemplateModel from the hash. |
| TemplateModel | SimpleSequence.get(int i) |
| TemplateModel | TemplateSequenceModel.get(int index) Retrieves the i-th template model in this sequence. |
| boolean | |
| Date | Returns the date value. |
| Number | Returns the numeric value. |
| String | Returns the string representation of this model. |
| String | Returns the string representation of this model. |
| TemplateSequenceModel | |
| String | LocalizedString.getLocalizedString(Locale locale) |
| String | ResourceBundleLocalizedString.getLocalizedString(Locale locale) |
| String | |
| String | |
| String | |
| TemplateNodeModel | |
| Writer | TemplateTransformModel.getWriter(Writer out, Map args) Returns a writer that will be used by the engine to feed the
transformation input to the transform. |
| TemplateModel | DefaultObjectWrapper.handleUnknownType(Object obj) Called if an unknown type is passed in. |
| TemplateModel | SimpleObjectWrapper.handleUnknownType(Object obj) Called if a type other than the simple ones we know about is passed in. |
| boolean | |
| boolean | |
| TemplateModelIterator | Retrieves a template model iterator that is used to iterate over
the elements in this collection. |
| TemplateCollectionModel | |
| TemplateModel | Returns the next model. |
| int | Called before the body is evaluated for the first time. |
| void | Adds all object in the hash as shared variable to the configuration. |
| void | Configuration.setSharedVariable(String name, Object obj) Adds shared variable to the configuration. |
| int | |
| int | |
| List | Note that this method creates and returns a deep-copy of the underlying list used
internally. |
| Map | Note that this method creates and returns a deep-copy of the underlying hash used
internally. |
| TemplateCollectionModel | |
| TemplateModel | DefaultObjectWrapper.wrap(Object obj) |
| TemplateModel | ObjectWrapper.wrap(Object obj) |
| TemplateModel | WrappingTemplateModel.wrap(Object obj) Wraps the passed object into a template model using this object's object
wrapper. |
Methods which throw type freemarker.template.TemplateModelException | |
| TemplateModel | TaglibFactory.get(String uri) Retrieves a JSP tag library identified by an URI. |
Classes derived from freemarker.template.TemplateModelException | |
| class | An exception thrown when there is an attempt to access
an invalid bean property when we are in a "strict bean" mode
|
Methods which throw type freemarker.template.TemplateModelException | |
| Object | The first argument is used as a key to call the map's get method. |
| Object | ResourceBundleModel.exec(List arguments) Takes first argument as a resource key, looks up a string in resource bundle
with this key, then applies a MessageFormat.format on the string with the
rest of the arguments. |
| Object | SimpleMapModel.exec(List args) |
| TemplateModel | Uses Beans introspection to locate a property or method with name
matching the key name. |
| TemplateModel | SimpleMapModel.get(String key) |
| TemplateModel | ArrayModel.get(int index) |
| TemplateModel | CollectionModel.get(int index) Retrieves the i-th object from the collection, wrapped as a TemplateModel. |
| TemplateModel | BeanModel.invokeGenericGet(Map keyMap, Class clazz, String key) |
| TemplateModel | MapModel.invokeGenericGet(Map keyMap, Class clazz, String key) Overridden to invoke the generic get method by casting to Map instead of
through reflection - should yield better performance. |
| TemplateModel | ResourceBundleModel.invokeGenericGet(Map keyMap, Class clazz, String key) Overridden to invoke the getObject method of the resource bundle. |
| TemplateModelIterator | This allows the enumeration to be used in a <foreach> block. |
| TemplateModelIterator | This allows the iterator to be used in a <foreach> block. |
| Object | BeansWrapper.newInstance(Class clazz, List arguments) |
| TemplateModel | Calls underlying Enumeration.nextElement() and wraps the result. |
| TemplateModel | Calls underlying Iterator.next() and wraps the result. |
| Object | |
| Object | Attempts to unwrap a model into underlying object. |
| Object | |
| TemplateCollectionModel | |
| TemplateModel | |
| TemplateModel | BeansWrapper.wrap(Object object) Wraps the object with a template model that is most specific for the object's
class. |