dsql.parser
Class ASTInclude
java.lang.Object
dsql.parser.SimpleNode
dsql.parser.DMNode
dsql.parser.ASTXMLElement
dsql.parser.ASTDocContext
dsql.parser.ASTInclude
- All Implemented Interfaces:
- java.lang.Cloneable, Node
- public class ASTInclude
- extends ASTDocContext
An element; e.g. .
Methods inherited from class dsql.parser.ASTXMLElement |
attributesToString, executeXML, getAttributeValue, getElement, getElement, getElements, getStartTag, getTagName, getXMLText, print, setAttribute, setAttribute, setTagName |
Methods inherited from class dsql.parser.DMNode |
executeArgument, executeArgumentAsClass, executeArgumentColumnHolder, executeArgumentNonNull, executeArgumentRecordHolder, executeArgumentTable, executeWithCatch, 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 |
ASTInclude
public ASTInclude(int id)
- Constructor for Parser
ASTInclude
public ASTInclude(Parser p,
int id)
- Constructor for Parser
ASTInclude
public ASTInclude(ASTXMLElement toCopy)
- Constructor for ASTXMLElement.recast()
ASTInclude
public ASTInclude(java.lang.String fileName,
ASTDoc doc)
toString
public java.lang.String toString()
- Overrides:
toString
in class ASTXMLElement
getFileName
public java.lang.String getFileName()
throws ExecuteException
- Throws:
ExecuteException
execute
public Value execute()
throws ExecuteException
- Description copied from class:
DMNode
- Execute a Node
- Overrides:
execute
in class ASTXMLElement
- Throws:
ExecuteException
getFile
public static java.io.Reader getFile(java.lang.String fileName)
throws ExecuteException
- Throws:
ExecuteException
tryToOpenFile
protected static java.io.BufferedReader tryToOpenFile(java.lang.String path)
throws ExecuteException
- Throws:
ExecuteException
parse
protected ASTDoc parse()
throws ExecuteException
- Throws:
ExecuteException