Class VelocimacroManager.MacroEntry

java.lang.Object
org.apache.velocity.runtime.VelocimacroManager.MacroEntry
Enclosing class:
VelocimacroManager

private static class VelocimacroManager.MacroEntry extends Object
wrapper class for holding VM information
  • Field Details

    • vmName

      private final String vmName
    • argArray

      private final String[] argArray
    • sourceTemplate

      private final String sourceTemplate
    • nodeTree

      private SimpleNode nodeTree
    • fromLibrary

      private boolean fromLibrary
    • vp

      private VelocimacroProxy vp
  • Constructor Details

  • 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

      public SimpleNode getNodeTree()
      Returns the node tree for this macro.
      Returns:
      The node tree for this macro.
    • getSourceTemplate

      public String getSourceTemplate()
      Returns the source template name for this macro.
      Returns:
      The source template name for this macro.
    • getProxy

      VelocimacroProxy getProxy(String namespace)