Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

B32476-03

oracle.toplink.eis.interactions
Class XQueryInteraction

java.lang.Object
  extended by oracle.toplink.internal.databaseaccess.DatasourceCall
      extended by oracle.toplink.eis.interactions.EISInteraction
          extended by oracle.toplink.eis.interactions.MappedInteraction
              extended by oracle.toplink.eis.interactions.XMLInteraction
                  extended by oracle.toplink.eis.interactions.XQueryInteraction
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, oracle.toplink.internal.databaseaccess.QueryStringCall, Call

public class XQueryInteraction
extends XMLInteraction
implements oracle.toplink.internal.databaseaccess.QueryStringCall

Defines the specification for a call to a JCA interaction that uses XQuery. Translates the XQuery from the query arguments. Builds the input and output XML records.

Since:
OracleAS TopLink 10g (10.0.3)
See Also:
Serialized Form

Constructor Summary
XQueryInteraction()
          Default constructor.
XQueryInteraction(java.lang.String xQueryString)
          Construct the interaction with the XQuery string.
 
Method Summary
 org.w3c.dom.Element createInputDOM(EISAccessor accessor)
          Create a DOM for this interaction.
 java.lang.String getLogString(Accessor accessor)
          Return the string for logging purposes.
 java.lang.String getXQueryString()
          Return the XQuery string.
 void setXQueryString(java.lang.String xQueryString)
          Set the XQuery string.
 
Methods inherited from class oracle.toplink.eis.interactions.XMLInteraction
buildRow, buildRows, createInputRecord, getInputRootElementName, getOutputRootElementName, setInputRootElementName, setOutputRootElementName
 
Methods inherited from class oracle.toplink.eis.interactions.MappedInteraction
addArgument, addArgument, addArgumentValue, getArgumentNames, getInputResultPath, setInputResultPath
 
Methods inherited from class oracle.toplink.eis.interactions.EISInteraction
addOutputArgument, addOutputArgument, createRecordElement, getArguments, getFunctionName, getInputRecordName, getInteractionSpec, getOutputArgumentNames, getOutputArguments, getOutputResultPath, getProperties, getProperty, hasArguments, hasOutputArguments, isEISInteraction, setFunctionName, setInputRecordName, setInputRow, setInteractionSpec, setOutputArgumentNames, setOutputArguments, setOutputResultPath, setProperties, setProperty, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XQueryInteraction

public XQueryInteraction()
Default constructor.


XQueryInteraction

public XQueryInteraction(java.lang.String xQueryString)
Construct the interaction with the XQuery string.

Method Detail

getXQueryString

public java.lang.String getXQueryString()
Return the XQuery string.


setXQueryString

public void setXQueryString(java.lang.String xQueryString)
Set the XQuery string.


createInputDOM

public org.w3c.dom.Element createInputDOM(EISAccessor accessor)
Create a DOM for this interaction. Convert the database row or arguments into an XML DOM tree. Handles arguments different as the XQuery and input can both have parameters.

Overrides:
createInputDOM in class XMLInteraction

getLogString

public java.lang.String getLogString(Accessor accessor)
Return the string for logging purposes.

Specified by:
getLogString in interface Call
Overrides:
getLogString in class XMLInteraction

Copyright © 1998, 2010, Oracle. All Rights Reserved.