wt.query.qml
Class AbstractQueryStatementHandler

java.lang.Object
  extended bywt.query.qml.AbstractQueryStatementHandler
All Implemented Interfaces:
StatementHandler
Direct Known Subclasses:
QueryStatementHandler, SubQueryStatementHandler

public abstract class AbstractQueryStatementHandler
extends Object
implements StatementHandler



Supported API: false

Extendable: false


Field Summary
private static String CLASSNAME
           
static boolean DEBUG
           
protected static QueryElementFactory ELEMENT_HANDLER
           
private static DebugWriter LOG
           
private static String RESOURCE
           
 
Constructor Summary
AbstractQueryStatementHandler()
           
 
Method Summary
 StatementSpec build(Element a_element, Hashtable a_parameterMap)
          Builds a StatementSpec instance using the specified DOM node.
abstract  Element getSelect(Element a_element)
          Returns the Select element of this query.
 QuerySpec newQuerySpec(Element a_element)
          This method constructs the QuerySpec instance and sets any applicable attributes.
 
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

ELEMENT_HANDLER

protected static final QueryElementFactory ELEMENT_HANDLER

DEBUG

public static final boolean DEBUG

LOG

private static final DebugWriter LOG
Constructor Detail

AbstractQueryStatementHandler

public AbstractQueryStatementHandler()
Method Detail

getSelect

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

Supported API: false

Parameters:
a_element -
Returns:
Element
Throws:
QMLException

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
Parameters:
a_element -
a_parameterMap -
Returns:
StatementSpec
Throws:
QMLException

newQuerySpec

public QuerySpec newQuerySpec(Element a_element)
                       throws WTException
This method constructs the QuerySpec instance and sets any applicable attributes.

Supported API: false

Parameters:
a_element -
Returns:
QuerySpec
Throws:
WTException