Class Scope.Info

java.lang.Object
org.apache.velocity.runtime.directive.Scope.Info
Enclosing class:
Scope

public static class Scope.Info extends Object
Class to encapsulate and provide access to info about the current scope for debugging.
  • Constructor Details

    • Info

      public Info(Scope scope, Object owner)
      c'tor
      Parameters:
      scope -
      owner -
  • Method Details

    • getName

      public String getName()
      name getter
      Returns:
      name
    • getType

      public String getType()
      type getter
      Returns:
      scope type
    • getDepth

      public int getDepth()
      current depth
      Returns:
      depth
    • getTemplate

      public String getTemplate()
      template name getter
      Returns:
      template name
    • getLine

      public int getLine()
      line getter
      Returns:
      line number
    • getColumn

      public int getColumn()
      column getter
      Returns:
      column number
    • toString

      public String toString()
      string representation getter
      Overrides:
      toString in class Object
      Returns:
      string representation