Uses of Class
org.apache.velocity.Template
-
-
Uses of Template in org.apache.velocity.app
Methods in org.apache.velocity.app that return Template Modifier and Type Method Description static 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.TemplateVelocityEngine. getTemplate(String name)Returns aTemplatefrom the Velocity resource management system.TemplateVelocityEngine. 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 Template Modifier and Type Method Description List<Template>ChainedInternalContextAdapter. getMacroLibraries()List<Template>InternalContextAdapterImpl. getMacroLibraries()Method parameters in org.apache.velocity.context with type arguments of type Template Modifier and Type Method Description voidChainedInternalContextAdapter. 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 Template Modifier and Type Method Description TemplateRuntimeInstance. getTemplate(String name)Returns aTemplatefrom the resource manager.TemplateRuntimeInstance. getTemplate(String name, String encoding)Returns aTemplatefrom the resource managerTemplateRuntimeServices. getTemplate(String name)Returns aTemplatefrom the resource manager.TemplateRuntimeServices. 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 Template Modifier and Type Method Description booleanRuntimeInstance. 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.VelocimacroProxyVelocimacroManager. get(String vmName, Template renderingTemplate, Template template)Gets a VelocimacroProxy object by the name / source template duple.StringVelocimacroManager. getLibraryName(String vmName, Template template)Return the library name for a given macro.DirectiveRuntimeInstance. getVelocimacro(String vmName, Template renderingTemplate, Template template)Returns the appropriate VelocimacroProxy object if vmName is a valid current Velocimacro.DirectiveRuntimeServices. 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.DirectiveVelocimacroFactory. 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 VelocimacroSimpleNodeRuntimeInstance. parse(Reader reader, Template template)Parse the input and return the root of AST node structure.SimpleNodeRuntimeServices. parse(Reader reader, Template template)Parse the input and return the root of AST node structure.static SimpleNodeRuntimeSingleton. parse(Reader reader, Template template)Parse 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 Template Modifier and Type Method Description TemplateDirective. 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 Template Modifier and Type Method Description voidDirective. 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 Template Modifier and Type Field Description TemplateStandardParser. currentTemplateCurrent template we are parsing.Methods in org.apache.velocity.runtime.parser that return Template Modifier and Type Method Description TemplateParser. getCurrentTemplate()TemplateStandardParser. getCurrentTemplate()Methods in org.apache.velocity.runtime.parser with parameters of type Template Modifier and Type Method Description SimpleNodeParser. parse(Reader reader, Template template)SimpleNodeStandardParser. parse(Reader reader, Template t)This 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 Template Modifier and Type Field Description protected TemplateSimpleNode. templateMethods in org.apache.velocity.runtime.parser.node that return Template Modifier and Type Method Description TemplateNode. getTemplate()TemplateSimpleNode. getTemplate()Methods in org.apache.velocity.runtime.parser.node with parameters of type Template Modifier and Type Method Description NodeSimpleNode. clone(Template template)Root node deep cloningprotected NodeSimpleNode. clone(Template template, Node parent)Child node deep cloning -
Uses of Template in org.apache.velocity.script
Fields in org.apache.velocity.script declared as Template Modifier and Type Field Description protected TemplateVelocityCompiledScript. templateConstructors in org.apache.velocity.script with parameters of type Template Constructor Description VelocityCompiledScript(VelocityScriptEngine e, Template t)
-