|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.z3950.zing.cql.CQLNode
Represents a node in a CQL parse-tree.
Method Summary | |
protected static java.lang.String |
indent(int level)
Returns a String of spaces for indenting to the specified level. |
abstract java.lang.String |
toCQL()
Decompiles a parse-tree into a CQL query. |
abstract java.lang.String |
toPQF(java.util.Properties config)
Renders a parse-tree into a Yaz-style PQF string. |
abstract java.lang.String |
toXCQL(int level)
Translates a parse-tree into an XCQL document. |
protected static java.lang.String |
xq(java.lang.String str)
Returns the argument String quoted for XML. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public abstract java.lang.String toXCQL(int level)
level
- The number of levels to indent the top element of the XCQL
document. This will typically be 0 when invoked by an
application; it takes higher values when this method is
invoked recursively for nodes further down the tree.public abstract java.lang.String toCQL()
public abstract java.lang.String toPQF(java.util.Properties config) throws PQFTranslationException
protected static java.lang.String indent(int level)
protected static java.lang.String xq(java.lang.String str)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |