wt.query.qml
Class StatementFactory

java.lang.Object
  extended bywt.query.qml.StatementFactory
All Implemented Interfaces:
ApplicationContextChild, StatementHandler

public class StatementFactory
extends Object
implements ApplicationContextChild, StatementHandler

This class provides the implmentation for constructing a StatementSpec instance from a DOM Node. A StatementHandler delegate is consructed and used for the acutal StatementSpec building.

Supported API: false

Extendable: false


Field Summary
private  ApplicationContext applicationContext
           
private static String CLASSNAME
           
private static String RESOURCE
           
 
Fields inherited from interface wt.services.applicationcontext.ApplicationContextChild
APPLICATION_CONTEXT
 
Constructor Summary
StatementFactory()
           
 
Method Summary
 StatementSpec build(Element a_element, Hashtable a_parameterMap)
          Builds a StatementSpec instance using the specified DOM node.
 ApplicationContext getApplicationContext()
          Gets the object for the association that plays role: applicationContext.
 void setApplicationContext(ApplicationContext a_ApplicationContext)
          Sets the object for the association that plays role: applicationContext.
 
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

applicationContext

private ApplicationContext applicationContext
Constructor Detail

StatementFactory

public StatementFactory()
Method Detail

getApplicationContext

public ApplicationContext getApplicationContext()
Gets the object for the association that plays role: applicationContext.

Supported API: false

Specified by:
getApplicationContext in interface ApplicationContextChild
Returns:
ApplicationContext

setApplicationContext

public void setApplicationContext(ApplicationContext a_ApplicationContext)
                           throws WTPropertyVetoException
Sets the object for the association that plays role: applicationContext.

Supported API: false

Specified by:
setApplicationContext in interface ApplicationContextChild
Parameters:
a_ApplicationContext -
Throws:
WTPropertyVetoException

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