This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > ENSLIB namespace > EnsLib.EDI.ServiceInterface

EnsLib.EDI.ServiceInterface

abstract class EnsLib.EDI.ServiceInterface

Method Inventory (Including Private)

Parameters

parameter DOCCLASS;

Methods (Including Private)

method OnDocumentEnd(pDocument As EnsLib.EDI.Document, pSource As %String, pStatus As %Status) as %Status
Called by the Parser at the end of a document
method OnDocumentStart(pDocument As EnsLib.EDI.Document, pSource As %String, pStatus As %Status) as %Status
Called by the Parser at the start of a document
method OnPostDocument(pStream As %IO.I.CharacterStream, ByRef pLineExtra As %String = "")
This method is called after processing a Document, giving an opportunity to 'filter' extraneous header/trailer/filler which may be present in the stream. pLineExtra contains any extra chars read that may be part of the beginning of the next Document.
method OnPreDocument(pStream As %IO.I.CharacterStream, ByRef pLineExtra As %String = "")
This method is called before attempting to process a Document, giving an opportunity to 'filter' extraneous header/trailer/filler which may be present in the stream. pLineExtra contains any extra chars read that may be part of the beginning of the Document to follow.
method resolveDocType(pDoc As EnsLib.EDI.Document) as %String
Return the DocType that the given service would assign to this document

Subclasses

FeedbackOpens in a new window