Package com.tietoenator.trip.jxp.data
Enum Class TdbXmlRecord.IOMode
- All Implemented Interfaces:
Serializable
,Comparable<TdbXmlRecord.IOMode>
,Constable
- Enclosing class:
- TdbXmlRecord
The IOMode enum represents various ways that TRIPxml import and export
operations can take place.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTransmission of document data will be to and from a file.Transmission of document data will be inline (base64-encoded) in XPI requests and responses.Transmission of document data will be streamed via a temporary HTTP connection between TRIPjxp and the server-side TRIPxml library. -
Method Summary
Modifier and TypeMethodDescriptionstatic TdbXmlRecord.IOMode
Returns the enum constant of this class with the specified name.static TdbXmlRecord.IOMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
Inline
Transmission of document data will be inline (base64-encoded) in XPI requests and responses. This is the default. -
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
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
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
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 nameNullPointerException
- if the argument is null
-