Open Business Objects for EDI
v3.6.0

com.americancoders.edi.TRADACOMS
Class TradacomsTokenizer

java.lang.Object
  |
  +--com.americancoders.edi.Tokenizer
        |
        +--com.americancoders.edi.TRADACOMS.TradacomsTokenizer
All Implemented Interfaces:
ITokenizer

public class TradacomsTokenizer
extends Tokenizer
implements ITokenizer

class to assist in tokenizing input transaction sets
x12 field seperator uses 3rd byte of input string
x12 segment separator uses 16th field + 1 byte field, if it sees a cr character then checks for a lf character and then assumes a \\n character
EDIFact uses different control positions. see header segment.

OBOE - Open Business Objects for EDI

Part of the OBOE Basic Extended Package
An EDI and XML Translator Written In Java
Copyright 1998-2009 - American Coders, LTD - Raleigh NC USA
All rights reserved
American Coders, Ltd
P. O. Box 97462
Raleigh, NC 27624 USA
1-919-846-2014
http://www.americancoders.com

Version:
3.6.0
Author:
Joe McVerry - American Coders, Ltd.

Field Summary
 
Fields inherited from class com.americancoders.edi.Tokenizer
currentDataElement, currentSegID, currentTokenizer, currentTokenStringToken, dataelementPos, dataElementReady, dErr, escapeCharacters, repeatChar, requestingContainer, segmentPos, separators, tokenGroups, tokenSeperatorCharacter, transactionSetTokenizer
 
Constructor Summary
TradacomsTokenizer(java.io.Reader inReader, com.americancoders.edi.DocumentErrors inDErr)
          builds the parsing object for a transaction set
 
Methods inherited from class com.americancoders.edi.Tokenizer
countDataElements, getCurrentDataElement, getCurrentTokenStringToken, getDataElementAt, getDataElementPos, getElementSeparator, getEscapeCharacters, getInputByteCount, getLastSegmentContainer, getNextDataElement, getNextSegment, getRepeaterCharacter, getReportError, getRestOfSegment, getSegmentID, getSegmentPos, getSegmentPosition, getSeparators, getVersion, hasMoreDataElements, hasMoreSegments, isThereADataElement, makeSubfieldTokenizer, reportError, reportError, reportError, resetSegment, setLastSegmentContainer, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.americancoders.edi.ITokenizer
countDataElements, getCurrentDataElement, getDataElementAt, getDataElementPos, getElementSeparator, getEscapeCharacters, getInputByteCount, getNextDataElement, getNextSegment, getRepeaterCharacter, getSegmentPos, getSegmentPosition, hasMoreDataElements, hasMoreSegments, isThereADataElement, makeSubfieldTokenizer, reportError, reportError, resetSegment, toString
 

Constructor Detail

TradacomsTokenizer

public TradacomsTokenizer(java.io.Reader inReader,
                          com.americancoders.edi.DocumentErrors inDErr)
                   throws OBOEException
builds the parsing object for a transaction set

Parameters:
inReader - what's to be tokenized
inDErr - DocumentError
Throws:
OBOEException - invalid token most likely

Open Business Objects for EDI
v3.6.0


OBOE is a trademark or registered trademark of American Coders, Ltd. in the US and other countries.
Copyright 1999-2004 American Coders, Ltd.
POB 97462
Raleigh NC 27624 USA
All Rights Reserved.