org.quattor.pan.statement
Class StaticIncludeStatement
java.lang.Object
org.quattor.pan.statement.Statement
org.quattor.pan.statement.IncludeStatement
org.quattor.pan.statement.StaticIncludeStatement
public class StaticIncludeStatement
- extends IncludeStatement
Executes a template identified by a constant string.
- Author:
- loomis
|
Method Summary |
void |
execute(Context context)
Execute this Statement within the given context. |
String |
toString()
Return a reasonable string representation of this statement. |
StaticIncludeStatement
public StaticIncludeStatement(SourceRange sourceRange,
String name)
throws SyntaxException
- Constructs a StaticIncludeStatement from the given template name. If the
name is invalid, a SyntaxException will be thrown.
- Parameters:
sourceRange - source location of this statementname - name of the template to include
- Throws:
SyntaxException
execute
public void execute(Context context)
- Description copied from class:
Statement
- Execute this Statement within the given context.
- Specified by:
execute in class Statement
- Parameters:
context - DML context to use for the evalution of this statement
toString
public String toString()
- Return a reasonable string representation of this statement.
- Overrides:
toString in class Object
- Returns:
- String representation of this BindStatement
Copyright © 2012 Quattor. All Rights Reserved.