|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An IBasicExpression represents an executable part of the expression tree. Different stores may have different implementations.
Field Summary | |
static java.lang.String |
BASIC_EXPRESSION_FACTORY_CLASS
parameter name for the expression factory implementation |
Method Summary | |
IBasicExpression |
createExpression(org.jdom.Element element)
Creates a (non-merge) expression (compare...) for the given Element. |
IBasicExpression |
createMergeExpression(java.lang.String name,
java.lang.String namespace,
java.util.Collection expressionsToMerge)
Creates a MergeExpression for the given element (AND, OR). |
PropertyProvider |
getPropertyProvider()
Returns the PropertyProvider to use (set in method init() ). |
IBasicQuery |
getQuery()
Returns the IBasicQuery to use (set in method init() ). |
void |
init(IBasicQuery query,
PropertyProvider propertyProvider)
Initializes the factory. |
Field Detail |
public static final java.lang.String BASIC_EXPRESSION_FACTORY_CLASS
Method Detail |
public void init(IBasicQuery query, PropertyProvider propertyProvider) throws BadQueryException
query
- the IBasicQuery.propertyProvider
- the PropertyProvider to use (may be
null
).
BadQueryException
public IBasicQuery getQuery()
init()
).
public PropertyProvider getPropertyProvider()
init()
).
public IBasicExpression createMergeExpression(java.lang.String name, java.lang.String namespace, java.util.Collection expressionsToMerge) throws BadQueryException
name
- the name of the Element describing the merge expression.namespace
- the namespace of the Element describing the merge expression.expressionsToMerge
- the expressions to merge.
BadQueryException
public IBasicExpression createExpression(org.jdom.Element element) throws BadQueryException
element
- an Element describing the expression.
BadQueryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |