EnsLib.EDI.IOFormatInterface
abstract class EnsLib.EDI.IOFormatInterface
Method Inventory
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.
Subclasses
- EnsLib.EDI.ASTM.Util.FormatHTML
- EnsLib.EDI.ASTM.Util.FormatHTMLZen
- 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
- EnsLib.HL7.Util.FormatDSXMLv2
- EnsLib.HL7.Util.FormatHTMLv2
- EnsLib.HL7.Util.FormatHTMLv2Zen
- EnsLib.HL7.Util.FormatSimpleXMLv2
- EnsLib.ITK.HL7.FormatXMLv2