|
Xindice API version 1.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xindice.util.SimpleConfigurable
org.apache.xindice.core.xupdate.XUpdateQueryResolver
public class XUpdateQueryResolver
XUpdateQueryResolver
Field Summary | |
---|---|
static String |
STYLE_XUPDATE
|
Fields inherited from class org.apache.xindice.util.SimpleConfigurable |
---|
config |
Constructor Summary | |
---|---|
XUpdateQueryResolver()
|
Method Summary | |
---|---|
Query |
compileQuery(Collection context,
String query,
NamespaceMap nsMap,
Key[] keys)
compileQuery compiles a Query against the specified Collection context and returns the compiled Query. |
String |
getQueryStyle()
getQueryStyle returns the Query style supported by this Resolver. |
NodeSet |
query(Collection context,
String query,
NamespaceMap nsMap,
Key[] keys)
query compiles a Query against the specified Collection context and returns the query results. |
void |
setConfig(Configuration config)
setConfig sets the configuration information for the Configurable object instance. |
void |
setQueryEngine(QueryEngine engine)
setQueryEngine hands a reference for the QueryEngine to the Resolver. |
Methods inherited from class org.apache.xindice.util.SimpleConfigurable |
---|
getConfig |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.xindice.util.Configurable |
---|
getConfig |
Field Detail |
---|
public static final String STYLE_XUPDATE
Constructor Detail |
---|
public XUpdateQueryResolver()
Method Detail |
---|
public void setConfig(Configuration config) throws XindiceException
Configurable
setConfig
in interface Configurable
setConfig
in class SimpleConfigurable
config
- The configuration Node
XindiceException
public String getQueryStyle()
QueryResolver
getQueryStyle
in interface QueryResolver
public void setQueryEngine(QueryEngine engine)
QueryResolver
setQueryEngine
in interface QueryResolver
engine
- The QueryEnginepublic Query compileQuery(Collection context, String query, NamespaceMap nsMap, Key[] keys) throws QueryException
QueryResolver
compileQuery
in interface QueryResolver
context
- The Collection Contextquery
- The QuerynsMap
- The namespace Map (if any)keys
- The initial Key set to use (if any)
QueryException
public NodeSet query(Collection context, String query, NamespaceMap nsMap, Key[] keys) throws QueryException
QueryResolver
query
in interface QueryResolver
context
- The Collection Contextquery
- The QuerynsMap
- The namespace Map (if any)keys
- The initial Key set to use (if any)
QueryException
|
Xindice API version 1.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |