|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XQConnection2
Method Summary | ||
---|---|---|
|
createModuleProxy(String namespaceUri,
String moduleUri,
Class<T> clazz)
Creates a Module Proxy, a Java Facade of an XQuery Library Module. |
|
|
createModuleProxy(String namespaceUri,
String moduleUri,
Class<T> clazz,
XQStaticContext properties)
Creates a Module Proxy, a Java Facade of an XQuery Library Module. |
|
void |
insertItem(String uri,
XQItem item,
XQInsertOptions options)
Inserts an item into the XML DataSource with a given URI. |
Methods inherited from interface javax.xml.xquery.XQConnection |
---|
close, commit, createExpression, createExpression, getAutoCommit, getMetaData, getStaticContext, isClosed, prepareExpression, prepareExpression, prepareExpression, prepareExpression, prepareExpression, prepareExpression, rollback, setAutoCommit, setStaticContext |
Method Detail |
---|
<T> T createModuleProxy(String namespaceUri, String moduleUri, Class<T> clazz) throws XQException
namespaceUri
- the Namespace URI of the XQuery Library Module, required parameter.moduleUri
- the URI of the XQuery Library Module, null is permitted.clazz
- a regular Java interface class, acting as the Facade for the XQuery Library Module.
XQException
<T> T createModuleProxy(String namespaceUri, String moduleUri, Class<T> clazz, XQStaticContext properties) throws XQException
namespaceUri
- the Namespace URI of the XQuery Library Module, required parameter.moduleUri
- the URI of the XQuery Library Module, null is permitted.clazz
- a regular Java interface class, acting as the Facade for the XQuery Library Module.properties
- the static context properties, which the XQuery Module Proxy should run against.
XQException
void insertItem(String uri, XQItem item, XQInsertOptions options) throws XQException
uri
- The absolute URI of the item. Can not be null.item
- The item to insert. It must be a document node. Can not be null.options
- Hints to the implementation of how to ingest the item. Can be null.
XQException
- if (1) the specified uri or item is null
, (2) the item is not a document node, (3) the underlying object implementing the interface is closed, (4) the specified item is closed, or (5) an implementation issue occurred whilst inserting the item.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |