|
EclipseLink 1.0_1.0M2 API Reference - Incubation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectDatasourceCall
org.eclipse.persistence.eis.interactions.EISInteraction
org.eclipse.persistence.eis.interactions.MappedInteraction
org.eclipse.persistence.eis.interactions.XMLInteraction
public class XMLInteraction
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.
Field Summary | |
---|---|
protected java.lang.String |
inputRootElementName
The root element name to use for the input DOM. |
protected java.lang.String |
outputRootElementName
The root element name to use for the output DOM. |
Fields inherited from class org.eclipse.persistence.eis.interactions.MappedInteraction |
---|
argumentNames, inputResultPath |
Fields inherited from class org.eclipse.persistence.eis.interactions.EISInteraction |
---|
arguments, functionName, inputRecordName, inputRow, interactionSpec, outputArgumentNames, outputArguments, outputResultPath, properties |
Constructor Summary | |
---|---|
XMLInteraction()
Default constructor. |
Method Summary | |
---|---|
AbstractRecord |
buildRow(Record record,
EISAccessor accessor)
Build a database row from the record returned from the interaction. |
java.util.Vector |
buildRows(Record record,
EISAccessor accessor)
Build a collection of database rows from the Record returned from the interaction. |
protected DatabaseField |
createField(java.lang.String fieldName)
INTERNAL: |
org.w3c.dom.Element |
createInputDOM(EISAccessor accessor)
Create a DOM for this interaction. |
Record |
createInputRecord(EISAccessor accessor)
Create a DOM input record for this interaction. |
protected XMLRecord |
createXMLRecord(java.lang.String rootName)
INTERNAL: Use the createRecord method on ObjectBuilder in case the root element is namespace qualified |
java.lang.String |
getInputRootElementName()
PUBLIC: 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()
PUBLIC: Return the root element name to use for the output DOM. |
void |
prepare(AbstractSession session)
Set the default record name from the descriptor. |
void |
setInputRootElementName(java.lang.String inputRootElementName)
PUBLIC: Set the root element name to use for the input DOM. |
void |
setOutputRootElementName(java.lang.String outputRootElementName)
PUBLIC: Set the root element name to use for the output DOM. |
Methods inherited from class org.eclipse.persistence.eis.interactions.MappedInteraction |
---|
addArgument, addArgument, addArgumentValue, getArgumentNames, getInputResultPath, setArgumentNames, setInputResultPath |
Methods inherited from class org.eclipse.persistence.eis.interactions.EISInteraction |
---|
addOutputArgument, addOutputArgument, createRecordElement, getArguments, getFunctionName, getInputRecordName, getInputRow, getInteractionSpec, getOutputArgumentNames, getOutputArguments, getOutputResultPath, getProperties, getProperty, hasArguments, hasOutputArguments, isEISInteraction, setArguments, setFunctionName, setInputRecordName, setInputRow, setInteractionSpec, setOutputArgumentNames, setOutputArguments, setOutputResultPath, setProperties, setProperty, toString, translate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String inputRootElementName
protected java.lang.String outputRootElementName
Constructor Detail |
---|
public XMLInteraction()
Method Detail |
---|
public java.lang.String getInputRootElementName()
public void setInputRootElementName(java.lang.String inputRootElementName)
public java.lang.String getOutputRootElementName()
public void setOutputRootElementName(java.lang.String outputRootElementName)
public void prepare(AbstractSession session)
prepare
in class EISInteraction
public Record createInputRecord(EISAccessor accessor)
createInputRecord
in class MappedInteraction
public org.w3c.dom.Element createInputDOM(EISAccessor accessor)
public AbstractRecord buildRow(Record record, EISAccessor accessor)
buildRow
in class MappedInteraction
public java.util.Vector buildRows(Record record, EISAccessor accessor)
buildRows
in class EISInteraction
public java.lang.String getLogString(Accessor accessor)
getLogString
in class EISInteraction
protected DatabaseField createField(java.lang.String fieldName)
protected XMLRecord createXMLRecord(java.lang.String rootName)
|
EclipseLink 1.0_1.0M2 API Reference - Incubation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |