Class Scope.Info
- java.lang.Object
-
- org.apache.velocity.runtime.directive.Scope.Info
-
- Enclosing class:
- Scope
public static class Scope.Info extends java.lang.ObjectClass 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 intgetColumn()column getterintgetDepth()current depthintgetLine()line getterjava.lang.StringgetName()name getterjava.lang.StringgetTemplate()template name getterjava.lang.StringgetType()type getterjava.lang.StringtoString()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:
toStringin classjava.lang.Object- Returns:
- string representation
-
-