public interface TXQExpression
extends javax.xml.xquery.XQExpression
Modifier and Type | Method and Description |
---|---|
void |
bindString(javax.xml.namespace.QName qname,
java.lang.String s,
javax.xml.xquery.XQItemType xqitemtype)
Binds the input string of specific ItemType to the query
|
javax.xml.xquery.XQResultSequence |
executeInsert(java.io.Reader content)
Inserts the given reader into the database.
|
javax.xml.xquery.XQResultSequence |
executeInsert(java.lang.String content)
Inserts the given string content into the database.
|
javax.xml.xquery.XQResultSequence |
executeInsertNonXML(java.io.InputStream content,
java.lang.String doctype,
java.lang.String docname,
java.lang.String contentType)
Inserts the given non-XML content into the database.
|
javax.xml.xquery.XQResultSequence |
executeUpdate(java.io.Reader updateExpression)
Executes an update query expression given in the form of a reader.
|
javax.xml.xquery.XQResultSequence |
executeUpdate(java.lang.String updateExpression)
Executes an update query expression given in the form of a string.
|
cancel, close, executeCommand, executeCommand, executeQuery, executeQuery, executeQuery, getStaticContext, isClosed
bindAtomicValue, bindBoolean, bindByte, bindDocument, bindDocument, bindDocument, bindDocument, bindDocument, bindDouble, bindFloat, bindInt, bindItem, bindLong, bindNode, bindObject, bindSequence, bindShort, getImplicitTimeZone, setImplicitTimeZone
javax.xml.xquery.XQResultSequence executeInsert(java.lang.String content) throws javax.xml.xquery.XQException
content
- - The XML content to be inserted.javax.xml.xquery.XQException
- - if a problem occurred.javax.xml.xquery.XQResultSequence executeInsert(java.io.Reader content) throws javax.xml.xquery.XQException
content
- - The XML content to be inserted (a Reader object).javax.xml.xquery.XQException
- - if a problem occurred.javax.xml.xquery.XQResultSequence executeInsertNonXML(java.io.InputStream content, java.lang.String doctype, java.lang.String docname, java.lang.String contentType) throws javax.xml.xquery.XQException
content
- - The non-XML content to be inserted (a Reader object).doctype
- document typedocname
- document namecontentType
- content type of non-XMLjavax.xml.xquery.XQException
- if there is problem inserting the content.javax.xml.xquery.XQResultSequence executeUpdate(java.lang.String updateExpression) throws javax.xml.xquery.XQException
updateExpression
- update query expression string.javax.xml.xquery.XQException
- if there are errors when executing the query or if the expression
is in a closed state or if the execution is cancelled.javax.xml.xquery.XQResultSequence executeUpdate(java.io.Reader updateExpression) throws javax.xml.xquery.XQException
updateExpression
- update query expression as a reader object.javax.xml.xquery.XQException
- if there are errors when executing the query or if the expression
when executing the query or if the expression is in a closed state or if the execution is cancelled.void bindString(javax.xml.namespace.QName qname, java.lang.String s, javax.xml.xquery.XQItemType xqitemtype) throws javax.xml.xquery.XQException
bindString
in interface javax.xml.xquery.XQDynamicContext
qname
- - QNames
- - String to be boundxqitemtype
- - Item Typejavax.xml.xquery.XQException