|
Open Business Objects for EDI v3.6.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
interface for Tokenizers
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
| Method Summary | |
int |
countDataElements()
number of dataelements in token string |
java.lang.String |
getCurrentDataElement()
get the contents for the current data element |
java.lang.String |
getDataElementAt(int pos)
returns data element at preparsed position |
int |
getDataElementPos()
gets the position within segment or composite of the current data element |
java.lang.String |
getElementSeparator()
returns the element delimiter |
java.lang.String |
getEscapeCharacters()
returns the escape character string |
int |
getInputByteCount()
returns the byte position in the input stream of the current token |
java.lang.String |
getNextDataElement()
look ahead to the next data element |
com.americancoders.edi.IDataTokenizer |
getNextSegment(com.americancoders.edi.SegmentContainer inSegContainer)
gets the next DataTokenizer object |
java.lang.String |
getRepeaterCharacter()
returns the repeater delimiter |
int |
getSegmentPos()
gets the current segment position within tokenized object |
int |
getSegmentPosition()
returns the relative segment position |
boolean |
hasMoreDataElements()
determine if there are more data elements to parse in token |
boolean |
hasMoreSegments()
determine if there are more segments to parse |
boolean |
isThereADataElement()
is there a data element to parse or a segment |
com.americancoders.edi.IDataTokenizer |
makeSubfieldTokenizer()
turn the current tokenizer into a subfield tokenizer |
void |
reportError(java.lang.String inDescription)
adds an error description to the OBOEParserErrors object |
void |
reportError(java.lang.String inDescription,
com.americancoders.edi.SegmentContainer inRequestingContainer,
java.lang.String inCode,
java.lang.Object inObject,
int inInt)
adds an error description to the OBOEParserErrors object |
com.americancoders.edi.IDataTokenizer |
resetSegment()
reset for look ahead |
java.lang.String |
toString()
|
| Method Detail |
public int countDataElements()
public java.lang.String getCurrentDataElement()
public int getDataElementPos()
public java.lang.String getNextDataElement()
public java.lang.String getDataElementAt(int pos)
pos - int position
public com.americancoders.edi.IDataTokenizer getNextSegment(com.americancoders.edi.SegmentContainer inSegContainer)
inSegContainer - SegmentContainer requesting the next segment.
Used for error handling and recovery.
public int getSegmentPos()
public boolean hasMoreDataElements()
public boolean hasMoreSegments()
public boolean isThereADataElement()
public com.americancoders.edi.IDataTokenizer resetSegment()
public com.americancoders.edi.IDataTokenizer makeSubfieldTokenizer()
public void reportError(java.lang.String inDescription)
inDescription - description of the error,
public void reportError(java.lang.String inDescription,
com.americancoders.edi.SegmentContainer inRequestingContainer,
java.lang.String inCode,
java.lang.Object inObject,
int inInt)
inDescription - description of the error,inRequestingContainer - segment, table...inCode - 720 codeinObject - object reporting erroinInt - level of errorpublic java.lang.String getEscapeCharacters()
public java.lang.String getRepeaterCharacter()
public java.lang.String getElementSeparator()
public java.lang.String toString()
toString in class java.lang.Objectpublic int getInputByteCount()
public int getSegmentPosition()
|
Open Business Objects for EDI v3.6.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||