dsql.parser
Class ASTQuote
java.lang.Object
dsql.parser.SimpleNode
dsql.parser.DMNode
dsql.parser.ASTXMLElement
dsql.parser.ASTDsql
dsql.parser.ASTQuote
- All Implemented Interfaces:
- java.lang.Cloneable, Node
- public class ASTQuote
- extends ASTDsql
A quote expression
Method Summary |
java.lang.String |
escape(java.lang.String s,
java.lang.String quote,
java.lang.String escQuote)
|
Value |
execute()
Execute a Node |
Value |
execute(boolean allowsExp)
|
java.lang.String |
getEscapeQuote(java.lang.String quoteChar)
|
java.lang.String |
getQuote()
|
Methods inherited from class dsql.parser.ASTXMLElement |
attributesToString, executeXML, getAttributeValue, getElement, getElement, getElements, getStartTag, getTagName, print, setAttribute, setAttribute, setDoc, setTagName, toString |
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 |
ASTQuote
public ASTQuote(int id)
- Constructor for Parser
ASTQuote
public ASTQuote(Parser p,
int id)
- Constructor for Parser
ASTQuote
public ASTQuote(ASTXMLElement toCopy)
- Constructor for ASTXMLElement.recast()
execute
public Value execute()
throws ExecuteException
- Description copied from class:
DMNode
- Execute a Node
- Overrides:
execute
in class ASTDsql
- Throws:
ExecuteException
execute
public Value execute(boolean allowsExp)
throws ExecuteException
- Overrides:
execute
in class ASTDsql
- Throws:
ExecuteException
getQuote
public java.lang.String getQuote()
throws ExecuteException
- Throws:
ExecuteException
getEscapeQuote
public java.lang.String getEscapeQuote(java.lang.String quoteChar)
throws ExecuteException
- Throws:
ExecuteException
escape
public java.lang.String escape(java.lang.String s,
java.lang.String quote,
java.lang.String escQuote)