congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
XMLInteraction.setOutputRootElementName
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: com.haulmont.thirdparty/eclipselink

/**
 * Set the default record name from the descriptor.
 */
public void prepare(AbstractSession session) {
  if (getInputRootElementName().length() == 0) {
    if ((getQuery() != null) && (getQuery().getDescriptor() instanceof EISDescriptor)) {
      EISDescriptor descriptor = (EISDescriptor)getQuery().getDescriptor();
      setInputRootElementName(descriptor.getDataTypeName());
    } else {
      setInputRootElementName("input");
    }
  }
  if (getOutputRootElementName().length() == 0) {
    if ((getQuery() != null) && (getQuery().getDescriptor() instanceof EISDescriptor)) {
      EISDescriptor descriptor = (EISDescriptor)getQuery().getDescriptor();
      setOutputRootElementName(descriptor.getDataTypeName());
    } else {
      setInputRootElementName("output");
    }
  }
  super.prepare(session);
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * Set the default record name from the descriptor.
 */
public void prepare(AbstractSession session) {
  if (getInputRootElementName().length() == 0) {
    if ((getQuery() != null) && (getQuery().getDescriptor() instanceof EISDescriptor)) {
      EISDescriptor descriptor = (EISDescriptor)getQuery().getDescriptor();
      setInputRootElementName(descriptor.getDataTypeName());
    } else {
      setInputRootElementName("input");
    }
  }
  if (getOutputRootElementName().length() == 0) {
    if ((getQuery() != null) && (getQuery().getDescriptor() instanceof EISDescriptor)) {
      EISDescriptor descriptor = (EISDescriptor)getQuery().getDescriptor();
      setOutputRootElementName(descriptor.getDataTypeName());
    } else {
      setInputRootElementName("output");
    }
  }
  super.prepare(session);
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * Set the default record name from the descriptor.
 */
public void prepare(AbstractSession session) {
  if (getInputRootElementName().length() == 0) {
    if ((getQuery() != null) && (getQuery().getDescriptor() instanceof EISDescriptor)) {
      EISDescriptor descriptor = (EISDescriptor)getQuery().getDescriptor();
      setInputRootElementName(descriptor.getDataTypeName());
    } else {
      setInputRootElementName("input");
    }
  }
  if (getOutputRootElementName().length() == 0) {
    if ((getQuery() != null) && (getQuery().getDescriptor() instanceof EISDescriptor)) {
      EISDescriptor descriptor = (EISDescriptor)getQuery().getDescriptor();
      setOutputRootElementName(descriptor.getDataTypeName());
    } else {
      setInputRootElementName("output");
    }
  }
  super.prepare(session);
}
org.eclipse.persistence.eis.interactionsXMLInteractionsetOutputRootElementName

Javadoc

PUBLIC: Set the root element name to use for the output DOM.

Popular methods of XMLInteraction

  • createInputDOM
    Create a DOM for this interaction. Convert the database row or arguments into an XML DOM tree.
  • 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
  • getOutputArgumentNames,
  • getOutputArguments,
  • getOutputResultPath,
  • getOutputRootElementName,
  • getParameters,
  • getProperties,
  • getQuery,
  • hasArguments,
  • hasOutputArguments,
  • prepare

Popular in Java

  • Parsing JSON documents to java classes using gson
  • requestLocationUpdates (LocationManager)
  • putExtra (Intent)
  • findViewById (Activity)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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