|
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.SegmentContainer
com.americancoders.edi.Envelope
com.americancoders.edi.ach.ACHEnvelope
| Field Summary | |
static java.lang.String |
idHeader
|
static java.lang.String |
idTrailer
|
| Fields inherited from class com.americancoders.edi.SegmentContainer |
container, dupSegment, myTemplateContainer |
| Constructor Summary | |
ACHEnvelope()
simple constructor |
|
ACHEnvelope(TemplateEnvelope inTempEnv)
instantiates the class from a TemplateEnvelope, |
|
| Method Summary | |
FunctionalGroup |
createFunctionalGroup()
creates a basic functionalgroup object |
char |
getDelimiter(char inOriginal)
returns the new delimiter based on the old delimiter |
java.lang.String |
getFormattedText(int inFormat)
|
FunctionalGroup |
getFunctionalGroup(int pos)
gets a Functional Group object from the vector (container); check for runtime array out of bounds exception |
int |
getFunctionalGroupCount()
gets the count of Functional Group object in the vector (container); |
java.util.Vector |
getFunctionalGroups()
gets the Vector of Functional Group objects |
Segment |
getInterchange_Header()
gets the Interchange Header |
Segment |
getInterchange_Trailer()
gets the Interchange Trailer |
void |
parse(org.w3c.dom.Node node)
parses an xml formated file |
boolean |
parse(java.io.PushbackInputStream inpis)
method for parsing fixed format edi files |
void |
rebuildBatchHeader()
|
void |
resetBatchHeader()
|
void |
setDelimitersInHeader()
sets the Delimter fields in the header |
void |
setFGCountInTrailer()
sets the functional group count in the trailer |
void |
validate()
validate contents of envelope |
void |
validate(DocumentErrors inDErr)
validate contents of envelope doesn't throw exceptions but places errors in DocumentErrors object |
void |
writeFormattedText(java.io.Writer inWriter,
int inFormat)
like getFormattedText; writes to a Writer object instead of building a string. |
| Methods inherited from class com.americancoders.edi.Envelope |
addFunctionalGroup, getFormat, getFormat, getID, getParent, getResponse, getRevision, getTemplateSegment, getTemplateSegmentContainer, getXMLTag, processEDIEnvelope, setDelimiters, setDelimitersFromProperties, setFormat, setParent, setResponse, setRevision, toString, trim |
| Methods inherited from class com.americancoders.edi.SegmentContainer |
addSegment, addSegment, addSegment, addSegmentToVector, createSegment, createSegment, defineContainer, equivalentSegments, getContainerSize, getSegment, getSegment, getSegment, getSegment, getSegment, getSegment, getSegmentByDataElementValue, getSegmentCount, getSegmentCount, isNull, isSegment, isSegment, isVector, parse, removeSegment, removeSegment, removeSegment, removeSegment, resetToFirstEquivalentSegment, setSegmentAt, setSegmentAt, whyNotUsed |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.americancoders.edi.ISegmentContainer |
addSegment, createSegment, getSegment, getSegment, getSegmentCount, removeSegment |
| Field Detail |
public static final java.lang.String idHeader
public static final java.lang.String idTrailer
| Constructor Detail |
public ACHEnvelope()
public ACHEnvelope(TemplateEnvelope inTempEnv)
throws OBOEException
inTempEnv - TemplateEnvelope to build this class with
OBOEException - missing segment definition in envelope xml.| Method Detail |
public void parse(org.w3c.dom.Node node)
throws OBOEException,
java.io.FileNotFoundException,
java.io.IOException
parse in class EnvelopeOBOEException
java.io.FileNotFoundException
java.io.IOExceptionEnvelope.parse(org.w3c.dom.Node)
public boolean parse(java.io.PushbackInputStream inpis)
throws OBOEException,
java.io.FileNotFoundException,
java.io.IOException
parse in class Envelopeinpis - PushbackInputStream
OBOException...
FileNotFoundException...
IOException...
OBOEException
java.io.FileNotFoundException
java.io.IOExceptionpublic void resetBatchHeader()
public void rebuildBatchHeader()
public java.lang.String getFormattedText(int inFormat)
throws OBOEException
getFormattedText in class EnvelopeinFormat - int - format type see TransactionSet
OBOEExceptionEnvelope.getFormattedText(int)
public void writeFormattedText(java.io.Writer inWriter,
int inFormat)
throws OBOEException,
java.io.IOException
Envelope
writeFormattedText in class EnvelopeinWriter - writer - object written toinFormat - int - format type see TransactionSet
java.io.IOException
OBOEExceptionEnvelope.writeFormattedText(Writer, int)
public void validate()
throws OBOEException
Envelope
validate in class EnvelopeOBOEExceptionEnvelope.validate()public void validate(DocumentErrors inDErr)
Envelope
validate in class EnvelopeEnvelope.validate(com.americancoders.edi.DocumentErrors)public FunctionalGroup createFunctionalGroup()
Envelope
createFunctionalGroup in class EnvelopeEnvelope.createFunctionalGroup()public int getFunctionalGroupCount()
Envelope
getFunctionalGroupCount in class EnvelopeEnvelope.getFunctionalGroupCount()public FunctionalGroup getFunctionalGroup(int pos)
Envelope
getFunctionalGroup in class Envelopepos - int position within container.
Envelope.getFunctionalGroup(int)public java.util.Vector getFunctionalGroups()
Envelope
getFunctionalGroups in class EnvelopeEnvelope.getFunctionalGroups()
public void setDelimitersInHeader()
throws OBOEException
Envelope
setDelimitersInHeader in class EnvelopeOBOEExceptionEnvelope.setDelimitersInHeader()
public void setFGCountInTrailer()
throws OBOEException
Envelope
setFGCountInTrailer in class EnvelopeOBOEExceptionEnvelope.setFGCountInTrailer()public Segment getInterchange_Header()
Envelope
getInterchange_Header in class Envelopepublic Segment getInterchange_Trailer()
Envelope
getInterchange_Trailer in class Envelopepublic char getDelimiter(char inOriginal)
IContainedObject
inOriginal -
|
Open Business Objects for EDI v3.5.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||