Package org.apache.velocity.runtime
Class VelocimacroManager.MacroEntry
java.lang.Object
org.apache.velocity.runtime.VelocimacroManager.MacroEntry
- Enclosing class:
- VelocimacroManager
wrapper class for holding VM information
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String[]
private boolean
private SimpleNode
private final String
private final String
private VelocimacroProxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
MacroEntry
(String vmName, Node macro, String[] argArray, String sourceTemplate, RuntimeServices rsvc) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if the macro was registered from a library.Returns the node tree for this macro.(package private) VelocimacroProxy
Returns the source template name for this macro.void
setFromLibrary
(boolean fromLibrary) Has the macro been registered from a library.
-
Field Details
-
vmName
-
argArray
-
sourceTemplate
-
nodeTree
-
fromLibrary
private boolean fromLibrary -
vp
-
-
Constructor Details
-
MacroEntry
private MacroEntry(String vmName, Node macro, String[] argArray, String sourceTemplate, RuntimeServices rsvc)
-
-
Method Details
-
setFromLibrary
public void setFromLibrary(boolean fromLibrary) Has the macro been registered from a library.- Parameters:
fromLibrary
- True if the macro was registered from a Library.
-
getFromLibrary
public boolean getFromLibrary()Returns true if the macro was registered from a library.- Returns:
- True if the macro was registered from a library.
-
getNodeTree
Returns the node tree for this macro.- Returns:
- The node tree for this macro.
-
getSourceTemplate
Returns the source template name for this macro.- Returns:
- The source template name for this macro.
-
getProxy
-