Uses of Class
org.apache.velocity.Template
Package
Description
-
Uses of Template in org.apache.velocity.app
Modifier and TypeMethodDescriptionstatic Template
Velocity.getTemplate
(String name) Returns aTemplate
from the Velocity resource management system.static Template
Velocity.getTemplate
(String name, String encoding) Returns aTemplate
from the Velocity resource management system.VelocityEngine.getTemplate
(String name) Returns aTemplate
from the Velocity resource management system.VelocityEngine.getTemplate
(String name, String encoding) Returns aTemplate
from the Velocity resource management system. -
Uses of Template in org.apache.velocity.context
Modifier and TypeMethodDescriptionChainedInternalContextAdapter.getMacroLibraries()
InternalContextAdapterImpl.getMacroLibraries()
Modifier and TypeMethodDescriptionvoid
ChainedInternalContextAdapter.setMacroLibraries
(List<Template> macroLibraries) void
InternalContextAdapterImpl.setMacroLibraries
(List<Template> macroLibraries) -
Uses of Template in org.apache.velocity.runtime
Modifier and TypeMethodDescriptionRuntimeInstance.getTemplate
(String name) Returns aTemplate
from the resource manager.RuntimeInstance.getTemplate
(String name, String encoding) Returns aTemplate
from the resource managerRuntimeServices.getTemplate
(String name) Returns aTemplate
from the resource manager.RuntimeServices.getTemplate
(String name, String encoding) Returns aTemplate
from the resource managerstatic Template
RuntimeSingleton.getTemplate
(String name) Returns aTemplate
from the resource manager.static Template
RuntimeSingleton.getTemplate
(String name, String encoding) Returns aTemplate
from the resource managerModifier and TypeMethodDescriptionboolean
RuntimeInstance.addVelocimacro
(String name, Node macro, List<Macro.MacroArg> macroArgs, Template definingTemplate) Adds a new Velocimacro.boolean
RuntimeServices.addVelocimacro
(String name, Node macro, List<Macro.MacroArg> macroArgs, Template definingTemplate) Adds a new Velocimacro.static boolean
RuntimeSingleton.addVelocimacro
(String name, Node macro, List<Macro.MacroArg> macroArgs, Template definingTemplate) Adds a new Velocimacro.boolean
VelocimacroFactory.addVelocimacro
(String name, Node macroBody, List<Macro.MacroArg> macroArgs, Template definingTemplate) Adds a macro to the factory.boolean
VelocimacroManager.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 Directive
RuntimeSingleton.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 argsboolean
RuntimeInstance.isVelocimacro
(String vmName, Template template) Checks to see if a VM existsboolean
RuntimeServices.isVelocimacro
(String vmName, Template template) Checks to see if a VM existsstatic boolean
RuntimeSingleton.isVelocimacro
(String vmName, Template template) Checks to see if a VM existsboolean
VelocimacroFactory.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 SimpleNode
Parse the input and return the root of AST node structure. -
Uses of Template in org.apache.velocity.runtime.directive
Modifier and TypeMethodDescriptionDirective.getTemplate()
returns the template in which this directive appearsprotected Template
Parse.getTemplate
(String path, String encoding) Find the template to render in the appropriate encodingModifier and TypeMethodDescriptionvoid
Directive.setLocation
(int line, int column, Template template) Allows the template location to be set. -
Uses of Template in org.apache.velocity.runtime.parser
Modifier and TypeMethodDescriptionParser.getCurrentTemplate()
StandardParser.getCurrentTemplate()
Modifier and TypeMethodDescriptionThis was also added to allow parsers to be re-usable. -
Uses of Template in org.apache.velocity.runtime.parser.node
-
Uses of Template in org.apache.velocity.script