Tabnine Logo
EISPlatform.appendParameter
Code IndexAdd Tabnine to your IDE (free)

How to use
appendParameter
method
in
org.eclipse.persistence.eis.EISPlatform

Best Java code snippets using org.eclipse.persistence.eis.EISPlatform.appendParameter (Showing top 3 results out of 315)

origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * Add the parameter.
 * Convert the parameter to a string and write it.
 * Convert rows to XML strings.
 */
public void appendParameter(Call call, Writer writer, Object parameter) {
  if (parameter instanceof Vector) {
    Vector records = (Vector)parameter;
    // May be a collection of record.
    for (int index = 0; index < records.size(); index++) {
      appendParameter(call, writer, (records).elementAt(index));
    }
  } else if (parameter instanceof org.eclipse.persistence.oxm.record.DOMRecord) {
    String xml = ((org.eclipse.persistence.oxm.record.DOMRecord)parameter).transformToXML();
    // For some reason the transform always prints the XML header, so trim it off.
    int start = xml.indexOf('>');
    xml = xml.substring(start + 1, xml.length());
    try {
      writer.write(xml);
    } catch (IOException exception) {
      throw ValidationException.fileError(exception);
    }
  } else {
    super.appendParameter(call, writer, parameter);
  }
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * Add the parameter.
 * Convert the parameter to a string and write it.
 * Convert rows to XML strings.
 */
public void appendParameter(Call call, Writer writer, Object parameter) {
  if (parameter instanceof Vector) {
    Vector records = (Vector)parameter;
    // May be a collection of record.
    for (int index = 0; index < records.size(); index++) {
      appendParameter(call, writer, (records).elementAt(index));
    }
  } else if (parameter instanceof org.eclipse.persistence.oxm.record.DOMRecord) {
    String xml = ((org.eclipse.persistence.oxm.record.DOMRecord)parameter).transformToXML();
    // For some reason the transform always prints the XML header, so trim it off.
    int start = xml.indexOf('>');
    xml = xml.substring(start + 1, xml.length());
    try {
      writer.write(xml);
    } catch (IOException exception) {
      throw ValidationException.fileError(exception);
    }
  } else {
    super.appendParameter(call, writer, parameter);
  }
}
 
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * Add the parameter.
 * Convert the parameter to a string and write it.
 * Convert rows to XML strings.
 */
public void appendParameter(Call call, Writer writer, Object parameter) {
  if (parameter instanceof Vector) {
    Vector records = (Vector)parameter;
    // May be a collection of record.
    for (int index = 0; index < records.size(); index++) {
      appendParameter(call, writer, (records).elementAt(index));
    }
  } else if (parameter instanceof org.eclipse.persistence.oxm.record.DOMRecord) {
    String xml = ((org.eclipse.persistence.oxm.record.DOMRecord)parameter).transformToXML();
    // For some reason the transform always prints the XML header, so trim it off.
    int start = xml.indexOf('>');
    xml = xml.substring(start + 1, xml.length());
    try {
      writer.write(xml);
    } catch (IOException exception) {
      throw ValidationException.fileError(exception);
    }
  } else {
    super.appendParameter(call, writer, parameter);
  }
}
 
org.eclipse.persistence.eisEISPlatformappendParameter

Javadoc

Add the parameter. Convert the parameter to a string and write it. Convert rows to XML strings.

Popular methods of EISPlatform

  • <init>
    Default constructor.
  • buildInteractionSpec
    Allow the platform to build the interaction spec based on properties defined in the interaction.
  • buildRow
    INTERNAL: Allow the platform to handle record to row conversion.
  • buildRows
    Allow the platform to handle record to row conversion.
  • createDOMRecord
    Allow the platform to handle the creation of the DOM record. By default create a mapped record an as
  • createDatabaseRowFromDOMRecord
    INTERNAL: Allow the platform to handle the creation of the Record for the DOM record. By default ins
  • createInputRecord
    Allow the platform to create the appropriate type of record for the interaction.
  • createOutputRecord
    Allow the platform to create the appropriate type of record for the interaction. If an output record
  • getConversionManager
    The platform holds its own instance of conversion manager to allow customization.
  • getRecordConverter
    Return the record converter.
  • isDOMRecordSupported
    Return if this platform supports XML/DOM Records.
  • requiresAutoCommit
    Return if this platform requires auto commit of the local transaction for interactions outside of an
  • isDOMRecordSupported,
  • requiresAutoCommit,
  • setDOMInRecord,
  • setIsDOMRecordSupported,
  • setIsIndexedRecordSupported,
  • setIsMappedRecordSupported,
  • setRequiresAutoCommit,
  • setShouldConvertDataToStrings,
  • setSupportsLocalTransactions

Popular in Java

  • Running tasks concurrently on multiple threads
  • getSupportFragmentManager (FragmentActivity)
  • setScale (BigDecimal)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Github Copilot alternatives
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