com.berryworks.edireader
Class SyntaxDescriptor

java.lang.Object
  extended by com.berryworks.edireader.SyntaxDescriptor

public class SyntaxDescriptor
extends java.lang.Object

Represents the full collection of syntax characters that apply to EDI interchanges.

An instance of a SyntaxDescriptor is typically used to describe the particular syntax characters used in a given EDI interchange. The delimiter is the character that separates two consecutive fields in an EDI segment. The subdelimiter is the character that separates two consecutive subfields. The subSubDelimiter the the character that separates two consecutive sub-subfields. (ANSI X12 and EDIFACT standards to no use sub-subfields. This is included for other standards such as HL7.) The decimalMark is the character used in numeric EDI data to represent the radix point. The decimal mark is the often the period but can be a comma or other value. The repetitionSeparator is the character used to separate consecutive instances of field that is allowed to repeat. The terminator is the character used to mark the end of a segment. The terminatorSuffix is a short String of characters that optionally follow the terminator. Such suffixes are typically a LF or CR,LF sequence marking the end of a record. The release character is the used to mark the immediately following character as data and not to be interpreted as a syntax characters.


Constructor Summary
SyntaxDescriptor()
           
 
Method Summary
 char getDecimalMark()
           
 char getDelimiter()
           
 int getRelease()
           
 char getRepetitionSeparator()
           
 char getSubDelimiter()
           
 char getSubSubDelimiter()
           
 char getTerminator()
           
 java.lang.String getTerminatorSuffix()
           
 void setDecimalMark(char decimalMark)
           
 void setDelimiter(char delimiter)
           
 void setRelease(int release)
           
 void setRepetitionSeparator(char repetitionSeparator)
           
 void setSubDelimiter(char subDelimiter)
           
 void setSubSubDelimiter(char subSubDelimiter)
           
 void setTerminator(char terminator)
           
 void setTerminatorSuffix(java.lang.String terminatorSuffix)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyntaxDescriptor

public SyntaxDescriptor()
Method Detail

getDelimiter

public char getDelimiter()

setDelimiter

public void setDelimiter(char delimiter)

getSubDelimiter

public char getSubDelimiter()

setSubDelimiter

public void setSubDelimiter(char subDelimiter)

getSubSubDelimiter

public char getSubSubDelimiter()

setSubSubDelimiter

public void setSubSubDelimiter(char subSubDelimiter)

getDecimalMark

public char getDecimalMark()

setDecimalMark

public void setDecimalMark(char decimalMark)

getRepetitionSeparator

public char getRepetitionSeparator()

setRepetitionSeparator

public void setRepetitionSeparator(char repetitionSeparator)

getTerminator

public char getTerminator()

setTerminator

public void setTerminator(char terminator)

getRelease

public int getRelease()

setRelease

public void setRelease(int release)

getTerminatorSuffix

public java.lang.String getTerminatorSuffix()

setTerminatorSuffix

public void setTerminatorSuffix(java.lang.String terminatorSuffix)