|
Open Business Objects for EDI v3.5.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.americancoders.edi.EDIDocumentParser
com.americancoders.edi.TRADACOMS.TradacomsDocumentParser
class defining methods for parsing EDI Documents
Tradacoms2 dependent
Document handlers will register with this class to be notified
when specific edi objects are created or finished
Unlike the old parser these parsers will not contain the
objects, the process of adding objects to owning parents (such as
adding functional groups to an envelope) is left up to the document handler.
| Field Summary |
| Fields inherited from class com.americancoders.edi.EDIDocumentParser |
dErr |
| Constructor Summary | |
TradacomsDocumentParser()
parses an Tradacoms Document and passes results to EDIDocumentHandlers |
|
| Method Summary | |
void |
parseDocument(java.io.Reader inReader)
Deprecated. use parseDocument(Reader, boolean) |
void |
parseDocument(java.io.Reader inReader,
boolean inValidate)
method that controls the parsing |
void |
parseDocument(java.lang.String inString)
method that controls the parsing |
| Methods inherited from class com.americancoders.edi.EDIDocumentParser |
deregisterHandler, getDocumentErrors, notifyEndEnvelope, notifyEndFunctionalGroup, notifyEndSegment, notifyEndTransactionSet, notifyStartEnvelope, notifyStartFunctionalGroup, notifyStartSegment, notifyStartTransactionSet, registerHandler, setErrorLevel |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TradacomsDocumentParser()
OBOEException - - unknown transaction set, this transaction set is undefined to OBOE| Method Detail |
public void parseDocument(java.lang.String inString)
throws OBOEException
parseDocument in class EDIDocumentParserinString - String edi document
OBOEException - - most likely unknown segment
public void parseDocument(java.io.Reader inReader)
throws OBOEException
inReader - object containing edi data
OBOEException - - most likely unknown segment
public void parseDocument(java.io.Reader inReader,
boolean inValidate)
throws OBOEException
parseDocument in class EDIDocumentParserinReader - reader object containing edi datainValidate - boolean - call validation logic on envelope if true
OBOEException - - most likely unknown segment
|
Open Business Objects for EDI v3.5.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||