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 booleanprivate SimpleNodeprivate final Stringprivate final Stringprivate VelocimacroProxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateMacroEntry(String vmName, Node macro, String[] argArray, String sourceTemplate, RuntimeServices rsvc) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if the macro was registered from a library.Returns the node tree for this macro.(package private) VelocimacroProxyReturns the source template name for this macro.voidsetFromLibrary(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
-