Enum Class TdbXmlRecord.IOMode

java.lang.Object
java.lang.Enum<TdbXmlRecord.IOMode>
com.tietoenator.trip.jxp.data.TdbXmlRecord.IOMode
All Implemented Interfaces:
Serializable, Comparable<TdbXmlRecord.IOMode>, Constable
Enclosing class:
TdbXmlRecord

public static enum TdbXmlRecord.IOMode extends Enum<TdbXmlRecord.IOMode>
The IOMode enum represents various ways that TRIPxml import and export operations can take place.
See Also:
  • Enum Constant Details

    • Inline

      public static final TdbXmlRecord.IOMode Inline
      Transmission of document data will be inline (base64-encoded) in XPI requests and responses. This is the default.
    • File

      public static final TdbXmlRecord.IOMode File
      Transmission of document data will be to and from a file. This mode is only valid if the TRIPjxp application runs on the same machine as the TRIP server the session is connected to.
    • Stream

      public static final TdbXmlRecord.IOMode Stream
      Transmission of document data will be streamed via a temporary HTTP connection between TRIPjxp and the server-side TRIPxml library. This mode is only valid for records with XML content.
  • Method Details

    • values

      public static TdbXmlRecord.IOMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TdbXmlRecord.IOMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null