public final class OXQView
extends java.lang.Object
OXQJ extension classes are named after their XQJ counterparts as follows:
Accessor methods return an OXQJ view over an XQJ object. Reverse navigation (OXQJ->XQJ) is provided by the getXQView() method of each OXQJ interface.
In addition to XQJ API extensions, this class also provides access to the OXQCloseable extension of an InputStream instance returned by OXQItemAccessor.getItemAsInputStream(Properties) and an XMLStreamReader instance returned by XQItemAccessor.getItemAsStream().
| Modifier and Type | Class and Description | 
|---|---|
static interface  | 
OXQView.OXQViewAccessor
Generic interface implemented by all XQJ objects which are capable of providing an OXQJ view. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static OXQCloseable | 
getCloseable(java.io.InputStream inputStream)
Provides the OXQJ view of the closeable object. 
 | 
static OXQCloseable | 
getCloseable(javax.xml.stream.XMLStreamReader reader)
Provides the OXQJ view of the closeable object. 
 | 
static OXQCloseable | 
getCloseable(XQSequence sequence)
Provides the OXQJ view of the closeable object. 
 | 
static OXQConnection | 
getConnection(XQConnection connection)
Provides the OXQJ view of the  
XQConnection object. | 
static OXQDataFactory | 
getDataFactory(XQDataFactory dataFactory)
Provides the OXQJ view of the  
XQDataFactory object. | 
static OXQDynamicContext | 
getDynamicContext(XQDynamicContext dynamicContext)
Provides the OXQJ view of the  
XQDynamicContext object. | 
static OXQExpression | 
getExpression(XQExpression expression)
Provides the OXQJ view of the  
XQExpression object. | 
static OXQItem | 
getItem(XQItem item)
Provides the OXQJ view of the  
XQItem object. | 
static OXQItemAccessor | 
getItemAccessor(XQItemAccessor itemAccessor)
Provides the OXQJ view of the  
XQItemAccessor object. | 
static OXQPreparedExpression | 
getPreparedExpression(XQPreparedExpression preparedExpression)
Provides the OXQJ view of the  
XQPreparedExpression object. | 
static OXQSequence | 
getSequence(XQSequence sequence)
Provides the OXQJ view of the  
XQSequence object. | 
static OXQStackTraceElement | 
getStackTraceElement(XQStackTraceElement element)
Provides the OXQJ view of the  
XQStackTraceElement object. | 
static OXQStackTraceVariable | 
getStackTraceVariable(XQStackTraceVariable variable)
Provides the OXQJ view of the  
XQStackTraceVariable object. | 
static OXQStaticContext | 
getStaticContext(XQStaticContext staticContext)
Provides the OXQJ view of the  
XQStaticContext object. | 
public static OXQConnection getConnection(XQConnection connection)
XQConnection object.connection - XQConnection instance constructed by OXQDataSourceOXQConnection interfacepublic static OXQDataFactory getDataFactory(XQDataFactory dataFactory)
XQDataFactory object.dataFactory - XQDataFactory instance constructed by OXQDataSourceOXQDataFactory interfacepublic static OXQDynamicContext getDynamicContext(XQDynamicContext dynamicContext)
XQDynamicContext object.dynamicContext - XQDynamicContext instance originated from OXQDataSourceOXQDynamicContext interfacepublic static OXQExpression getExpression(XQExpression expression)
XQExpression object.expression - XQExpression instance originated from OXQDataSourceOXQExpression interfacepublic static OXQItem getItem(XQItem item)
XQItem object.item - XQItem instance originated from OXQDataSourceOXQItem interfacepublic static OXQItemAccessor getItemAccessor(XQItemAccessor itemAccessor)
XQItemAccessor object.itemAccessor - XQItemAccessor instance originated from OXQDataSourceOXQItemAccessor interfacepublic static OXQPreparedExpression getPreparedExpression(XQPreparedExpression preparedExpression)
XQPreparedExpression object.preparedExpression - XQPreparedExpression instance originated from OXQDataSourceOXQPreparedExpression interfacepublic static OXQSequence getSequence(XQSequence sequence)
XQSequence object.sequence - XQSequence instance originated from OXQDataSourceOXQSequence interfacepublic static OXQStaticContext getStaticContext(XQStaticContext staticContext)
XQStaticContext object.staticContext - XQStaticContext instance originated from OXQDataSourceOXQStaticContext interfacepublic static OXQStackTraceElement getStackTraceElement(XQStackTraceElement element)
XQStackTraceElement object. This method only applies to XQStackTraceElement instances exposed by OXQDebugListener.element - XQStackTraceElement passed to one of the OXQDebugListener methodsOXQStackTraceElement interfacepublic static OXQStackTraceVariable getStackTraceVariable(XQStackTraceVariable variable)
XQStackTraceVariable object. This method only applies to XQStackTraceVariable instances from XQStackTraceElements exposed by OXQDebugListener.variable - XQStackTraceVariable passed to one of the OXQDebugListener methodsOXQStackTraceVariable interfacepublic static OXQCloseable getCloseable(XQSequence sequence)
sequence - XQSequence instance originated from OXQDataSourceOXQCloseable interface.public static OXQCloseable getCloseable(javax.xml.stream.XMLStreamReader reader)
reader - XMLStreamReader constructed by XQItemAccessor.getItemAsStream()OXQCloseable interfacepublic static OXQCloseable getCloseable(java.io.InputStream inputStream)
inputStream - InputStream constructed by OXQItemAccessor.getItemAsInputStream(Properties)OXQCloseable interface