Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / ENSLIB namespace / EnsLib.EDI.IOFormatInterface
Private  Storage   

EnsLib.EDI.IOFormatInterface


abstract class EnsLib.EDI.IOFormatInterface

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
5


Summary


Methods
ImportDocument ImportSegment OutputDocument OutputDocumentEnd
OutputSegment

Subclasses
EnsLib.EDI.EDIFACT.Util.FormatHTML EnsLib.EDI.EDIFACT.Util.FormatHTMLZen EnsLib.EDI.X12.Util.FormatHTML
EnsLib.EDI.X12.Util.FormatHTMLZen EnsLib.EDI.X12.Util.FormatValHTML EnsLib.EDI.X12.Util.FormatValHTMLZen

Methods


• abstract classmethod ImportDocument(Output pDocObj As EnsLib.EDI.Document, Output pStatus As %Status, pIOStream As %IO.I.CharacterStream, ByRef pContext As %String) as %Boolean
Return 1 if we imported the whole document or got an error. Returning 0 means the caller will do its standard parse.
• abstract classmethod ImportSegment(Output pSegObj As EnsLib.EDI.Segment, Output pStatus As %Status, pIOStream As %IO.I.CharacterStream, ByRef pContext As %String) as %Boolean
Return 1 if we imported a segment or got an error. Returning 0 means the caller will do its standard parse.
• abstract classmethod OutputDocument(pDocObj As EnsLib.EDI.Document, Output pStatus As %Status, pIOStream As %IO.I.CharacterStream, pSeparators As %String, ByRef pContext As %String) as %Boolean
Return 1 if we took care of the whole document or got an error. Returning 0 means the caller will continue doing component segments as usual.
• abstract classmethod OutputDocumentEnd(pDocObj As EnsLib.EDI.Document, Output pStatus As %Status, pIOStream As %IO.I.CharacterStream, pSeparators As %String, pSequenceNumber As %String)
Output any post-segment trailing document content. Called only if OutputDocument() returned 0 meaning it did not complete output of all segments itself.
• classmethod OutputSegment(pSegObj As EnsLib.EDI.Segment, Output pStatus As %Status, pIOStream As %IO.I.CharacterStream, pSeparators As %String, pSegNum As %String, pSegPath As %String, pParentDoc As EnsLib.EDI.Document, ByRef pContext As %String) as %Boolean
Return 1 if we took care of the segment or got an error. Returning 0 means the caller will output the segment as usual.