Class Scope.Info
- java.lang.Object
-
- org.apache.velocity.runtime.directive.Scope.Info
-
- Enclosing class:
- Scope
public static class Scope.Info extends java.lang.Object
Class to encapsulate and provide access to info about the current scope for debugging.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColumn()
column getterint
getDepth()
current depthint
getLine()
line getterjava.lang.String
getName()
name getterjava.lang.String
getTemplate()
template name getterjava.lang.String
getType()
type getterjava.lang.String
toString()
string representation getter
-
-
-
Constructor Detail
-
Info
public Info(Scope scope, java.lang.Object owner)
c'tor- Parameters:
scope
-owner
-
-
-
Method Detail
-
getName
public java.lang.String getName()
name getter- Returns:
- name
-
getType
public java.lang.String getType()
type getter- Returns:
- scope type
-
getDepth
public int getDepth()
current depth- Returns:
- depth
-
getTemplate
public java.lang.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 java.lang.String toString()
string representation getter- Overrides:
toString
in classjava.lang.Object
- Returns:
- string representation
-
-