|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.reverseXSL.types.DataFormat
public final class DataFormat
DataFormat singletons indicate the format of message data (CSV, XML, free text, etc.). It is a strong typed enumeration class compatible with JDK1.4.
Valid enumeration values are all like DataFormat.CODE
where CODE
must be a valid code; for the list of codes see table
.
Field Summary | |
---|---|
static DataFormat |
ANY
DataFormat data can be anything; it is unspecified. |
static DataFormat |
BINARY
Full transparent binary content that must be preserved from any alteration |
static DataFormat |
CSV
A text-oriented dataFormat with Comma Separated Values; also holds for ';', tabs and other usual separators. |
static DataFormat |
EDIFACT
An EDIFACT interchange as defined by standard ISO 9735 (made by United Nations Trade Facilitation Committee). |
static DataFormat |
IATA
A standard IATA message for IMP, AHM, SSIM and other sub-brands, starting with a Type-B SITA header. |
static DataFormat |
PROPRIETARY
A bilaterally agreed format, a corporate flat file. |
static DataFormat |
SWIFT
A standard financial message as defined in the SWIFT FIN User Handbook. |
static DataFormat[] |
table
May be used to iterate over all possible enumeration values. |
static DataFormat |
TEXT
Plain human readable text |
static DataFormat |
TRADACOMS
A Standard TRADACOMS message as edited by the UK Article Numbering Association. |
static DataFormat |
X12
The American National Standard ANSI X12, published by NIST. |
static DataFormat |
XML
a valid XML document |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
static DataFormat |
find(java.lang.String key)
|
java.lang.String |
toString()
|
java.lang.String |
toVerboseString()
Provides a default string rendering with long name followed by (CODE) as would be used when using a member like AddressType.CODE . |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final DataFormat ANY
public static final DataFormat BINARY
public static final DataFormat CSV
public static final DataFormat EDIFACT
This same tag is used for various EDIFACT sub-brands:
public static final DataFormat IATA
public static final DataFormat PROPRIETARY
public static final DataFormat SWIFT
public static final DataFormat[] table
public static final DataFormat TEXT
public static final DataFormat TRADACOMS
public static final DataFormat X12
public static final DataFormat XML
Method Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public static DataFormat find(java.lang.String key)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toVerboseString()
AddressType.CODE
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |