Tabnine Logo
XMLInteraction.createInputDOM
Code IndexAdd Tabnine to your IDE (free)

How to use
createInputDOM
method
in
org.eclipse.persistence.eis.interactions.XMLInteraction

Best Java code snippets using org.eclipse.persistence.eis.interactions.XMLInteraction.createInputDOM (Showing top 9 results out of 315)

origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * Return the string for logging purposes.
 */
public String getLogString(Accessor accessor) {
  StringWriter writer = new StringWriter();
  writer.write("Executing ");
  writer.write(toString());
  writer.write(Helper.cr());
  writer.write("\tspec => ");
  writer.write(String.valueOf(getInteractionSpec()));
  writer.write(Helper.cr());
  writer.write("\tproperties => ");
  writer.write(String.valueOf(getProperties()));
  writer.write(Helper.cr());
  writer.write("\txml => ");
  Element dom = createInputDOM((EISAccessor)accessor);
  EISDOMRecord record = new EISDOMRecord(dom);
  record.transformToWriter(writer);
  return writer.toString();
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * Return the string for logging purposes.
 */
public String getLogString(Accessor accessor) {
  StringWriter writer = new StringWriter();
  writer.write("Executing ");
  writer.write(toString());
  writer.write(Helper.cr());
  writer.write("\tspec => ");
  writer.write(String.valueOf(getInteractionSpec()));
  writer.write(Helper.cr());
  writer.write("\tproperties => ");
  writer.write(String.valueOf(getProperties()));
  writer.write(Helper.cr());
  writer.write("\txml => ");
  Element dom = createInputDOM((EISAccessor)accessor);
  EISDOMRecord record = new EISDOMRecord(dom);
  record.transformToWriter(writer);
  return writer.toString();
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * Return the string for logging purposes.
 */
public String getLogString(Accessor accessor) {
  StringWriter writer = new StringWriter();
  writer.write("Executing ");
  writer.write(toString());
  writer.write(Helper.cr());
  writer.write("\tspec => ");
  writer.write(String.valueOf(getInteractionSpec()));
  writer.write(Helper.cr());
  writer.write("\tproperties => ");
  writer.write(String.valueOf(getProperties()));
  writer.write(Helper.cr());
  writer.write("\txml => ");
  Element dom = createInputDOM((EISAccessor)accessor);
  EISDOMRecord record = new EISDOMRecord(dom);
  record.transformToWriter(writer);
  return writer.toString();
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * 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.
 */
public Element createInputDOM(EISAccessor accessor) {
  // The input record can either be build from the interaction arguments,
  // or the modify row.
  if ((getInputRow() != null) && (!hasArguments())) {
    return super.createInputDOM(accessor);
  }
  XMLRecord parameterRow = createXMLRecord(getInputRootElementName());
  for (int index = 0; index < getArgumentNames().size(); index++) {
    String parameterName = (String)getArgumentNames().get(index);
    Object parameter = getInputRow().get(parameterName);
    parameterRow.put(parameterName, parameter);
  }
  return (Element)parameterRow.getDOM();
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * 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.
 */
public Element createInputDOM(EISAccessor accessor) {
  // The input record can either be build from the interaction arguments,
  // or the modify row.
  if ((getInputRow() != null) && (!hasArguments())) {
    return super.createInputDOM(accessor);
  }
  XMLRecord parameterRow = createXMLRecord(getInputRootElementName());
  for (int index = 0; index < getArgumentNames().size(); index++) {
    String parameterName = (String)getArgumentNames().get(index);
    Object parameter = getInputRow().get(parameterName);
    parameterRow.put(parameterName, parameter);
  }
  return (Element)parameterRow.getDOM();
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * 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.
 */
public Element createInputDOM(EISAccessor accessor) {
  // The input record can either be build from the interaction arguments,
  // or the modify row.
  if ((getInputRow() != null) && (!hasArguments())) {
    return super.createInputDOM(accessor);
  }
  XMLRecord parameterRow = createXMLRecord(getInputRootElementName());
  for (int index = 0; index < getArgumentNames().size(); index++) {
    String parameterName = (String)getArgumentNames().get(index);
    Object parameter = getInputRow().get(parameterName);
    parameterRow.put(parameterName, parameter);
  }
  return (Element)parameterRow.getDOM();
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * Create a DOM input record for this interaction.
 * Convert the database row or arguments into an XML DOM tree.
 */
public Record createInputRecord(EISAccessor accessor) {
  Record record = accessor.getEISPlatform().createDOMRecord(getInputRecordName(), accessor);
  Element dom = createInputDOM(accessor);
  accessor.getEISPlatform().setDOMInRecord(dom, record, this, accessor);
  if (record instanceof XMLRecord) {
   ((XMLRecord) record).setSession(this.getQuery().getSession());
  }
  return record;
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * Create a DOM input record for this interaction.
 * Convert the database row or arguments into an XML DOM tree.
 */
public Record createInputRecord(EISAccessor accessor) {
  Record record = accessor.getEISPlatform().createDOMRecord(getInputRecordName(), accessor);
  Element dom = createInputDOM(accessor);
  accessor.getEISPlatform().setDOMInRecord(dom, record, this, accessor);
  if (record instanceof XMLRecord) {
   ((XMLRecord) record).setSession(this.getQuery().getSession());
  }
  return record;
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * Create a DOM input record for this interaction.
 * Convert the database row or arguments into an XML DOM tree.
 */
public Record createInputRecord(EISAccessor accessor) {
  Record record = accessor.getEISPlatform().createDOMRecord(getInputRecordName(), accessor);
  Element dom = createInputDOM(accessor);
  accessor.getEISPlatform().setDOMInRecord(dom, record, this, accessor);
  if (record instanceof XMLRecord) {
   ((XMLRecord) record).setSession(this.getQuery().getSession());
  }
  return record;
}
org.eclipse.persistence.eis.interactionsXMLInteractioncreateInputDOM

Javadoc

Create a DOM for this interaction. Convert the database row or arguments into an XML DOM tree.

Popular methods of XMLInteraction

  • createXMLRecord
    INTERNAL: Use the createRecord method on ObjectBuilder in case the root element is namespace qualifi
  • getArgumentNames
  • getArguments
  • getFunctionName
  • getInputRecordName
  • getInputResultPath
  • getInputRootElementName
    PUBLIC: Return the root element name to use for the input DOM.
  • getInputRow
  • getInteractionSpec
  • getOutputArgumentNames
  • getOutputArguments
  • getOutputResultPath
  • getOutputArguments,
  • getOutputResultPath,
  • getOutputRootElementName,
  • getParameters,
  • getProperties,
  • getQuery,
  • hasArguments,
  • hasOutputArguments,
  • prepare

Popular in Java

  • Start an intent from android
  • setContentView (Activity)
  • setScale (BigDecimal)
  • onCreateOptionsMenu (Activity)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • ImageIO (javax.imageio)
  • JCheckBox (javax.swing)
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now