wt.query.qml
Class QueryStatementHandler

java.lang.Object
  extended bywt.query.qml.AbstractQueryStatementHandler
      extended bywt.query.qml.QueryStatementHandler
All Implemented Interfaces:
StatementHandler

public class QueryStatementHandler
extends AbstractQueryStatementHandler

This class implements a StatementHandler for basic queries. A QuerySpec instance is built from a DOM Node.

Supported API: false

Extendable: false


Field Summary
private static String CLASSNAME
           
private static String COLUMN_ALIAS_TOKEN
           
private static String RESOURCE
           
 
Fields inherited from class wt.query.qml.AbstractQueryStatementHandler
DEBUG, ELEMENT_HANDLER
 
Constructor Summary
QueryStatementHandler()
           
 
Method Summary
 StatementSpec build(Element a_element, Hashtable a_parameterMap)
          Builds a StatementSpec instance using the specified DOM node.
 Element getSelect(Element a_element)
          Returns the Select element of this query.
private  void processSubQueryAlias(Element a_queryElement, String a_alias, int a_level)
           
 
Methods inherited from class wt.query.qml.AbstractQueryStatementHandler
newQuerySpec
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

COLUMN_ALIAS_TOKEN

private static final String COLUMN_ALIAS_TOKEN
See Also:
Constant Field Values
Constructor Detail

QueryStatementHandler

public QueryStatementHandler()
Method Detail

build

public StatementSpec build(Element a_element,
                           Hashtable a_parameterMap)
                    throws QMLException
Builds a StatementSpec instance using the specified DOM node.

Supported API: false

Specified by:
build in interface StatementHandler
Overrides:
build in class AbstractQueryStatementHandler
Parameters:
a_element -
a_parameterMap -
Returns:
StatementSpec
Throws:
QMLException

getSelect

public Element getSelect(Element a_element)
                  throws QMLException
Returns the Select element of this query.

Supported API: false

Specified by:
getSelect in class AbstractQueryStatementHandler
Parameters:
a_element -
Returns:
Element
Throws:
QMLException

processSubQueryAlias

private void processSubQueryAlias(Element a_queryElement,
                                  String a_alias,
                                  int a_level)
                           throws WTException
Throws:
WTException