Uses of Class
org.apache.velocity.runtime.directive.Directive
-
-
Uses of Directive in org.apache.velocity.runtime
Methods in org.apache.velocity.runtime that return Directive Modifier and Type Method Description DirectiveRuntimeInstance. getDirective(java.lang.String name)Retrieve a previously instantiated directive.DirectiveRuntimeServices. getDirective(java.lang.String name)Retrieve a previously instantiated directive.static DirectiveRuntime. getVelocimacro(java.lang.String vmName, java.lang.String templateName)Deprecated.Returns the appropriate VelocimacroProxy object if strVMname is a valid current Velocimacro.DirectiveRuntimeInstance. getVelocimacro(java.lang.String vmName, java.lang.String templateName)Returns the appropriate VelocimacroProxy object if vmName is a valid current Velocimacro.DirectiveRuntimeInstance. getVelocimacro(java.lang.String vmName, java.lang.String templateName, java.lang.String renderingTemplate)Returns the appropriate VelocimacroProxy object if vmName is a valid current Velocimacro.DirectiveRuntimeServices. getVelocimacro(java.lang.String vmName, java.lang.String templateName)Returns the appropriate VelocimacroProxy object if strVMname is a valid current Velocimacro.DirectiveRuntimeServices. getVelocimacro(java.lang.String vmName, java.lang.String templateName, java.lang.String renderingTemplate)Returns the appropriate VelocimacroProxy object if strVMname is a valid current Velocimacro.static DirectiveRuntimeSingleton. getVelocimacro(java.lang.String vmName, java.lang.String templateName)Returns the appropriate VelocimacroProxy object if strVMname is a valid current Velocimacro.DirectiveVelocimacroFactory. getVelocimacro(java.lang.String vmName, java.lang.String sourceTemplate)actual factory : creates a Directive that will behave correctly wrt getting the framework to dig out the correct # of argsDirectiveVelocimacroFactory. getVelocimacro(java.lang.String vmName, java.lang.String sourceTemplate, java.lang.String renderingTemplate)Methods in org.apache.velocity.runtime with parameters of type Directive Modifier and Type Method Description voidRuntimeInstance. addDirective(Directive directive)Programatically add a directive. -
Uses of Directive in org.apache.velocity.runtime.directive
Subclasses of Directive in org.apache.velocity.runtime.directive Modifier and Type Class Description classBlockDirective that puts an unrendered AST block in the context under the specified key, postponing rendering until the reference is used and rendered.classBlockMacroBlockMacro directive is used to invoke Velocity macros with normal parameters and a macro body.classBreakBreak directive used for interrupting scopes.classDefineDirective that puts an unrendered AST block in the context under the specified key, postponing rendering until the reference is used and rendered.classEvaluateEvaluates the directive argument as a VTL string, using the existing context.classForeachForeach directive used for moving through arrays, or objects that provide an Iterator.classIncludePluggable directive that handles the #include() statement in VTL.classInputBaseBase class for directives which do input operations (e.g.classLiteralDeprecated.Use the #[[unparsed content]]# syntax instead.classMacroMacro implements the macro definition directive of VTL.classParsePluggable directive that handles the#parse()statement in VTL.classRuntimeMacroThis class acts as a proxy for potential macros.classStopThis class implements the #stop directive which allows a user to stop the merging and rendering process.classVelocimacroProxyVelocimacroProxy.java a proxy Directive-derived object to fit with the current directive systemFields in org.apache.velocity.runtime.directive declared as Directive Modifier and Type Field Description private DirectiveScope.Info. directive -
Uses of Directive in org.apache.velocity.runtime.log
Methods in org.apache.velocity.runtime.log with parameters of type Directive Modifier and Type Method Description static java.lang.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 Directive Modifier and Type Method Description DirectiveParser. getDirective(java.lang.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 Modifier and Type Field Description private DirectiveASTDirective. directive
-