dsql.parser
Class ASTNew
java.lang.Object
dsql.parser.SimpleNode
dsql.parser.DMNode
dsql.parser.ASTJava
dsql.parser.ASTNew
- All Implemented Interfaces:
- Node
- public class ASTNew
- extends ASTJava
Object creator, eg "new java.util.Vector()"
Constructor Summary |
ASTNew(int id)
Constructor for Parser |
ASTNew(Parser p,
int id)
Constructor for Parser |
Methods inherited from class dsql.parser.DMNode |
executeArgument, executeArgumentAsClass, executeArgumentColumnHolder, executeArgumentNonNull, executeArgumentRecordHolder, executeArgumentTable, executeWithCatch, executeXML, getArgument, getCaller, getDsqlParent, getLine, getRoot, getString, hasArgument, jjtInsertFirstChild, jjtSetChild, setCaller, setLine |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ASTNew
public ASTNew(int id)
- Constructor for Parser
ASTNew
public ASTNew(Parser p,
int id)
- Constructor for Parser
getName
public java.lang.String getName()
setName
public void setName(java.lang.String _className)
execute
public Value execute()
throws ExecuteException
- Description copied from class:
DMNode
- Execute a Node
- Specified by:
execute
in class DMNode
- Throws:
ExecuteException
- If an error occurs during execution
newInstance
protected java.lang.Object newInstance(Value[] args)
throws ExecuteException
- Throws:
ExecuteException
getConstructor
protected java.lang.reflect.Constructor getConstructor(java.lang.Class[] types)
throws ExecuteException
- Throws:
ExecuteException
getClassObject
protected java.lang.Class getClassObject()
throws ExecuteException
- Throws:
ExecuteException
getConstructorsDefinition
protected java.lang.String getConstructorsDefinition()
throws ExecuteException
- Throws:
ExecuteException