Uses of Class
org.apache.velocity.runtime.directive.Directive
Packages that use Directive
Package
Description
-
Uses of Directive in org.apache.velocity.runtime
Methods in org.apache.velocity.runtime that return DirectiveModifier and TypeMethodDescriptionRuntimeInstance.getDirective(String name) Retrieve a previously instantiated directive.RuntimeServices.getDirective(String name) Retrieve a previously instantiated directive.static DirectiveRuntime.getVelocimacro(String vmName, String templateName) Deprecated.Returns the appropriate VelocimacroProxy object if strVMname is a valid current Velocimacro.RuntimeInstance.getVelocimacro(String vmName, String templateName) Returns the appropriate VelocimacroProxy object if vmName is a valid current Velocimacro.RuntimeInstance.getVelocimacro(String vmName, String templateName, String renderingTemplate) Returns the appropriate VelocimacroProxy object if vmName is a valid current Velocimacro.RuntimeServices.getVelocimacro(String vmName, String templateName) Returns the appropriate VelocimacroProxy object if strVMname is a valid current Velocimacro.RuntimeServices.getVelocimacro(String vmName, String templateName, String renderingTemplate) Returns the appropriate VelocimacroProxy object if strVMname is a valid current Velocimacro.static DirectiveRuntimeSingleton.getVelocimacro(String vmName, String templateName) Returns the appropriate VelocimacroProxy object if strVMname is a valid current Velocimacro.VelocimacroFactory.getVelocimacro(String vmName, String sourceTemplate) actual factory : creates a Directive that will behave correctly wrt getting the framework to dig out the correct # of argsVelocimacroFactory.getVelocimacro(String vmName, String sourceTemplate, String renderingTemplate) Methods in org.apache.velocity.runtime with parameters of type DirectiveModifier and TypeMethodDescriptionvoidRuntimeInstance.addDirective(Directive directive) Programatically add a directive. -
Uses of Directive in org.apache.velocity.runtime.directive
Subclasses of Directive in org.apache.velocity.runtime.directiveModifier and TypeClassDescriptionclassDirective that puts an unrendered AST block in the context under the specified key, postponing rendering until the reference is used and rendered.classBlockMacro directive is used to invoke Velocity macros with normal parameters and a macro body.classBreak directive used for interrupting scopes.classDirective that puts an unrendered AST block in the context under the specified key, postponing rendering until the reference is used and rendered.classEvaluates the directive argument as a VTL string, using the existing context.classForeach directive used for moving through arrays, or objects that provide an Iterator.classPluggable directive that handles the #include() statement in VTL.classBase class for directives which do input operations (e.g.classDeprecated.Use the #[[unparsed content]]# syntax instead.classMacro implements the macro definition directive of VTL.classPluggable directive that handles the#parse()statement in VTL.classThis class acts as a proxy for potential macros.classThis class implements the #stop directive which allows a user to stop the merging and rendering process.classVelocimacroProxy.java a proxy Directive-derived object to fit with the current directive systemFields in org.apache.velocity.runtime.directive declared as Directive -
Uses of Directive in org.apache.velocity.runtime.log
Methods in org.apache.velocity.runtime.log with parameters of type DirectiveModifier and TypeMethodDescriptionstatic final StringLog.formatFileString(Directive directive) Creates a string that formats the template filename with line number and column of the given Directive. -
Uses of Directive in org.apache.velocity.runtime.parser
Methods in org.apache.velocity.runtime.parser that return DirectiveModifier and TypeMethodDescriptionParser.getDirective(String directive) This method gets a Directive from the directives Hashtable -
Uses of Directive in org.apache.velocity.runtime.parser.node
Fields in org.apache.velocity.runtime.parser.node declared as Directive