Package scriptella.driver.xpath
Class XPathConnection
java.lang.Object
scriptella.spi.AbstractConnection
scriptella.driver.xpath.XPathConnection
- All Implemented Interfaces:
Connection
Represents a connection to an XML file.
For configuration details and examples see overview page.
- Version:
- 1.0
- Author:
- Fyodor Kupolov
-
Nested Class Summary
Nested classes/interfaces inherited from class scriptella.spi.AbstractConnection
AbstractConnection.StatementCounter -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final booleanstatic final StringName of thecache_queriesconnection property.static final StringName of thereturn_arraysconnection property.Fields inherited from class scriptella.spi.AbstractConnection
counter -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFor testing purposes only.XPathConnection(ConnectionParameters parameters) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes the connection and releases all related resources.voidexecuteQuery(Resource queryContent, ParametersCallback parametersCallback, QueryCallback queryCallback) Executes a query specified by its content.voidexecuteScript(Resource scriptContent, ParametersCallback parametersCallback) Executes a script specified by its content.Methods inherited from class scriptella.spi.AbstractConnection
commit, getDialectIdentifier, getExecutedStatementsCount, isReadonly, rollback, setDialectIdentifier, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface scriptella.spi.Connection
getUpdateCount
-
Field Details
-
CACHE_QUERIES
Name of thecache_queriesconnection property. Specifies flag to use queries cache, default is true. If set to "false" XML document under URL will be parsed for eachor
-