|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.saffron.sql.SqlNode | +--net.sf.saffron.sql.SqlNodeList
A SqlNodeList
is a list of SqlNode
s. It is also a
SqlNode
, so may appear in a parse tree.
Nested Class Summary |
Nested classes inherited from class net.sf.saffron.sql.SqlNode |
SqlNode.DatabaseMetaDataInvocationHandler |
Field Summary | |
private ArrayList |
list
|
Constructor Summary | |
SqlNodeList()
Creates an empty SqlNodeList . |
|
SqlNodeList(Collection collection)
Creates a SqlNodeList containing the nodes in
list . |
Method Summary | |
void |
add(SqlNode node)
|
Object |
clone()
|
SqlNode |
get(int n)
|
List |
getList()
|
int |
size()
|
(package private) void |
unparse(SqlWriter writer,
int leftPrec,
int rightPrec)
Writes a SQL representation of this node to a writer. |
Methods inherited from class net.sf.saffron.sql.SqlNode |
cloneArray, getKind, isA, toString, toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private ArrayList list
Constructor Detail |
public SqlNodeList()
SqlNodeList
.
public SqlNodeList(Collection collection)
SqlNodeList
containing the nodes in
list
. The list is copied, but the nodes in it are not.
Method Detail |
public List getList()
public void add(SqlNode node)
public Object clone()
clone
in class SqlNode
public SqlNode get(int n)
public int size()
void unparse(SqlWriter writer, int leftPrec, int rightPrec)
SqlNode
unparse
in class SqlNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |