Package | Description |
---|---|
org.apache.velocity.runtime | |
org.apache.velocity.runtime.directive |
Modifier and Type | Method and Description |
---|---|
boolean |
VelocimacroFactory.addVelocimacro(String name,
Node macroBody,
List<Macro.MacroArg> macroArgs,
Template definingTemplate)
Adds a macro to the factory.
|
static boolean |
RuntimeSingleton.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.
|
boolean |
RuntimeInstance.addVelocimacro(String name,
Node macro,
List<Macro.MacroArg> macroArgs,
Template definingTemplate)
Adds a new Velocimacro.
|
boolean |
VelocimacroManager.addVM(String vmName,
Node macroBody,
List<Macro.MacroArg> macroArgs,
Template definingTemplate,
boolean canReplaceGlobalMacro)
Adds a VM definition to the cache.
|
Modifier and Type | Method and Description |
---|---|
List<Macro.MacroArg> |
VelocimacroProxy.getMacroArgs()
Return the list of macro arguments associated with this macro
|
Modifier and Type | Method and Description |
---|---|
static StringBuilder |
Macro.macroToString(StringBuilder buf,
List<Macro.MacroArg> macroArgs,
RuntimeServices rsvc)
For debugging purposes.
|
void |
VelocimacroProxy.setMacroArgs(List<Macro.MacroArg> args)
sets the array of arguments specified in the macro definition
|
Copyright © 2000–2021 The Apache Software Foundation. All rights reserved.