|
API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface XQueryExecutable
Represents a prepared XQuery expression.
Parameters to the execute methods include:
Source object or an XItemView object for
the initial context item. Valid Source types are:
StreamSourceSAXSourceDOMSourceStAXSourceXDynamicContext object containing the execution-time settings. If none
is provided the default settings are used.Result object to serialize the result to. Valid
Result types are:
StreamResultSAXResultDOMResultStAXResultAll XQueryExecutable objects are thread safe.
XDynamicContext,
XItemView,
XExecutable| Method Summary | |
|---|---|
void |
execute(Result result)
Execute for no source, sending the output to the specified result. |
void |
execute(Source source,
Result result)
Execute for the given source, sending the output to the specified result. |
void |
execute(Source source,
XDynamicContext dynamicContext,
Result result)
Execute for the given source and dynamic context, sending the output to the specified result. |
void |
execute(XDynamicContext dynamicContext,
Result result)
Execute for no source, sending the output to the specified result. |
void |
execute(XItemView item,
Result result)
Execute for the given item, sending the output to the specified result. |
void |
execute(XItemView item,
XDynamicContext dynamicContext,
Result result)
Execute for the given item and dynamic context, sending the output to the specified result. |
| Methods inherited from interface com.ibm.xml.xapi.XExecutable |
|---|
execute, execute, execute, execute, execute, execute, executeToList, executeToList, executeToList, executeToList, executeToList, executeToList |
| Method Detail |
|---|
void execute(Source source,
Result result)
source - The input source. May be null however if the query
accesses the context item an error will be raised.result - The target result.
void execute(Source source,
XDynamicContext dynamicContext,
Result result)
source - The input source. May be null however if the query
accesses the context item an error will be raised.dynamicContext - The dynamic context.result - The target result.
void execute(XItemView item,
Result result)
item - The context item. May be null however if the query
accesses the context item an error will be raised.result - The target result.
void execute(XItemView item,
XDynamicContext dynamicContext,
Result result)
item - The context item. May be null however if the query
accesses the context item an error will be raised.dynamicContext - The dynamicContext.result - The target result.void execute(Result result)
result - The target result.
void execute(XDynamicContext dynamicContext,
Result result)
dynamicContext - The dynamicContext.result - The target result.
|
IBM Copyright 2004-2008 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||