public class RuntimeMacro extends Directive
BLOCK, LINE
Constructor and Description |
---|
RuntimeMacro(String macroName)
Create a RuntimeMacro instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Return name of this Velocimacro.
|
String |
getScopeName()
Override to always return "macro".
|
int |
getType()
Velocimacros are always LINE
type directives.
|
getColumn, getLine, getTemplateName, isScopeProvided, setLocation, setLocation
public RuntimeMacro(String macroName)
macroName
- name of the macropublic String getName()
public String getScopeName()
getScopeName
in class Directive
Copyright © 2002–2015 InfoEther. All rights reserved.