public abstract class Directive extends Object implements DirectiveConstants, Cloneable
BLOCK, LINE
Constructor and Description |
---|
Directive() |
Modifier and Type | Method and Description |
---|---|
int |
getColumn()
for log msg purposes
|
int |
getLine()
for log msg purposes
|
abstract String |
getName()
Return the name of this directive.
|
String |
getScopeName() |
String |
getTemplateName() |
abstract int |
getType()
Get the directive type BLOCK/LINE.
|
boolean |
isScopeProvided() |
void |
setLocation(int line,
int column)
Allows the template location to be set.
|
void |
setLocation(int line,
int column,
String templateName)
Allows the template location to be set.
|
public abstract String getName()
public abstract int getType()
public void setLocation(int line, int column)
line
- column
- public void setLocation(int line, int column, String templateName)
line
- column
- public int getLine()
public int getColumn()
public String getTemplateName()
public String getScopeName()
public boolean isScopeProvided()
Copyright © 2002–2017 InfoEther. All rights reserved.