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

B32476-04

oracle.toplink.eis.interactions
Class XMLInteraction

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
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, Call
Direct Known Subclasses:
XQueryInteraction

public class XMLInteraction
extends MappedInteraction

Defines the specification for a call to a JCA interaction that uses XML. Builds the input and output XML records from the arguments. This extends MappedInteraction to allow for mapped style of argument input and output.

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

Constructor Summary
XMLInteraction()
          Default constructor.
 
Method Summary
 oracle.toplink.internal.sessions.AbstractRecord buildRow(javax.resource.cci.Record record, EISAccessor accessor)
          Build a database row from the record returned from the interaction.
 java.util.Vector buildRows(javax.resource.cci.Record record, EISAccessor accessor)
          Build a collection of database rows from the Record returned from the interaction.
 org.w3c.dom.Element createInputDOM(EISAccessor accessor)
          Create a DOM for this interaction.
 javax.resource.cci.Record createInputRecord(EISAccessor accessor)
          Create a DOM input record for this interaction.
 java.lang.String getInputRootElementName()
          Return the root element name to use for the input DOM.
 java.lang.String getLogString(Accessor accessor)
          Return the string for logging purposes.
 java.lang.String getOutputRootElementName()
          Return the root element name to use for the output DOM.
 void prepare(oracle.toplink.internal.sessions.AbstractSession session)
          Set the default record name from the descriptor.
 void setInputRootElementName(java.lang.String inputRootElementName)
          Set the root element name to use for the input DOM.
 void setOutputRootElementName(java.lang.String outputRootElementName)
          Set the root element name to use for the output DOM.
 
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, translate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XMLInteraction

public XMLInteraction()
Default constructor.

Method Detail

getInputRootElementName

public java.lang.String getInputRootElementName()
Return the root element name to use for the input DOM.


setInputRootElementName

public void setInputRootElementName(java.lang.String inputRootElementName)
Set the root element name to use for the input DOM.


getOutputRootElementName

public java.lang.String getOutputRootElementName()
Return the root element name to use for the output DOM.


setOutputRootElementName

public void setOutputRootElementName(java.lang.String outputRootElementName)
Set the root element name to use for the output DOM.


prepare

public void prepare(oracle.toplink.internal.sessions.AbstractSession session)
Set the default record name from the descriptor.

Overrides:
prepare in class EISInteraction

createInputRecord

public javax.resource.cci.Record createInputRecord(EISAccessor accessor)
Create a DOM input record for this interaction. Convet the database row or arguments into an XML DOM tree.

Overrides:
createInputRecord in class MappedInteraction

createInputDOM

public org.w3c.dom.Element createInputDOM(EISAccessor accessor)
Create a DOM for this interaction. Convet the database row or arguments into an XML DOM tree.


buildRow

public oracle.toplink.internal.sessions.AbstractRecord buildRow(javax.resource.cci.Record record,
                                                                EISAccessor accessor)
Build a database row from the record returned from the interaction.

Overrides:
buildRow in class MappedInteraction

buildRows

public java.util.Vector buildRows(javax.resource.cci.Record record,
                  EISAccessor accessor)
Build a collection of database rows from the Record returned from the interaction.

Overrides:
buildRows in class EISInteraction

getLogString

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

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

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