Uses of Class
org.apache.velocity.Template
Packages that use Template
Package
Description
-
Uses of Template in org.apache.velocity.app
Methods in org.apache.velocity.app that return TemplateModifier and TypeMethodDescriptionstatic TemplateVelocity.getTemplate(String name) Returns aTemplatefrom the Velocity resource management system.static TemplateVelocity.getTemplate(String name, String encoding) Returns aTemplatefrom the Velocity resource management system.VelocityEngine.getTemplate(String name) Returns aTemplatefrom the Velocity resource management system.VelocityEngine.getTemplate(String name, String encoding) Returns aTemplatefrom the Velocity resource management system. -
Uses of Template in org.apache.velocity.context
Methods in org.apache.velocity.context that return types with arguments of type TemplateModifier and TypeMethodDescriptionChainedInternalContextAdapter.getMacroLibraries()InternalContextAdapterImpl.getMacroLibraries()Method parameters in org.apache.velocity.context with type arguments of type TemplateModifier and TypeMethodDescriptionvoidChainedInternalContextAdapter.setMacroLibraries(List<Template> macroLibraries) voidInternalContextAdapterImpl.setMacroLibraries(List<Template> macroLibraries) -
Uses of Template in org.apache.velocity.runtime
Methods in org.apache.velocity.runtime that return TemplateModifier and TypeMethodDescriptionRuntimeInstance.getTemplate(String name) Returns aTemplatefrom the resource manager.RuntimeInstance.getTemplate(String name, String encoding) Returns aTemplatefrom the resource managerRuntimeServices.getTemplate(String name) Returns aTemplatefrom the resource manager.RuntimeServices.getTemplate(String name, String encoding) Returns aTemplatefrom the resource managerstatic TemplateRuntimeSingleton.getTemplate(String name) Returns aTemplatefrom the resource manager.static TemplateRuntimeSingleton.getTemplate(String name, String encoding) Returns aTemplatefrom the resource managerMethods in org.apache.velocity.runtime with parameters of type TemplateModifier and TypeMethodDescriptionbooleanRuntimeInstance.addVelocimacro(String name, Node macro, List<Macro.MacroArg> macroArgs, Template definingTemplate) Adds a new Velocimacro.booleanRuntimeServices.addVelocimacro(String name, Node macro, List<Macro.MacroArg> macroArgs, Template definingTemplate) Adds a new Velocimacro.static booleanRuntimeSingleton.addVelocimacro(String name, Node macro, List<Macro.MacroArg> macroArgs, Template definingTemplate) Adds a new Velocimacro.booleanVelocimacroFactory.addVelocimacro(String name, Node macroBody, List<Macro.MacroArg> macroArgs, Template definingTemplate) Adds a macro to the factory.booleanVelocimacroManager.addVM(String vmName, Node macroBody, List<Macro.MacroArg> macroArgs, Template definingTemplate, boolean canReplaceGlobalMacro) Adds a VM definition to the cache.Gets a VelocimacroProxy object by the name / source template duple.VelocimacroManager.getLibraryName(String vmName, Template template) Return the library name for a given macro.RuntimeInstance.getVelocimacro(String vmName, Template renderingTemplate, Template template) Returns the appropriate VelocimacroProxy object if vmName is a valid current Velocimacro.RuntimeServices.getVelocimacro(String vmName, Template renderingTemplate, Template template) Returns the appropriate VelocimacroProxy object if strVMname is a valid current Velocimacro.static DirectiveRuntimeSingleton.getVelocimacro(String vmName, Template renderingTemplate, Template template) Returns the appropriate VelocimacroProxy object if strVMname is a valid current Velocimacro.VelocimacroFactory.getVelocimacro(String vmName, Template renderingTemplate, Template sourceTemplate) actual factory: creates a Directive that will behave correctly wrt getting the framework to dig out the correct # of argsbooleanRuntimeInstance.isVelocimacro(String vmName, Template template) Checks to see if a VM existsbooleanRuntimeServices.isVelocimacro(String vmName, Template template) Checks to see if a VM existsstatic booleanRuntimeSingleton.isVelocimacro(String vmName, Template template) Checks to see if a VM existsbooleanVelocimacroFactory.isVelocimacro(String vm, Template template) Tells the world if a given directive string is a VelocimacroParse the input and return the root of AST node structure.Parse the input and return the root of AST node structure.static SimpleNodeParse the input and return the root of AST node structure. -
Uses of Template in org.apache.velocity.runtime.directive
Methods in org.apache.velocity.runtime.directive that return TemplateModifier and TypeMethodDescriptionDirective.getTemplate()returns the template in which this directive appearsprotected TemplateParse.getTemplate(String path, String encoding) Find the template to render in the appropriate encodingMethods in org.apache.velocity.runtime.directive with parameters of type TemplateModifier and TypeMethodDescriptionvoidDirective.setLocation(int line, int column, Template template) Allows the template location to be set. -
Uses of Template in org.apache.velocity.runtime.parser
Fields in org.apache.velocity.runtime.parser declared as TemplateMethods in org.apache.velocity.runtime.parser that return TemplateModifier and TypeMethodDescriptionParser.getCurrentTemplate()StandardParser.getCurrentTemplate()Methods in org.apache.velocity.runtime.parser with parameters of type TemplateModifier and TypeMethodDescriptionThis was also added to allow parsers to be re-usable. -
Uses of Template in org.apache.velocity.runtime.parser.node
Fields in org.apache.velocity.runtime.parser.node declared as TemplateMethods in org.apache.velocity.runtime.parser.node that return TemplateMethods in org.apache.velocity.runtime.parser.node with parameters of type Template -
Uses of Template in org.apache.velocity.script
Fields in org.apache.velocity.script declared as TemplateConstructors in org.apache.velocity.script with parameters of type Template