| AbstractBilingualParser Class |
Takes care of the basics involved in implementing the IBilingualParser and IBilingualFileTypeComponent interfaces.
Namespace: Sdl.FileTypeSupport.Framework.BilingualApi
The AbstractBilingualParser type exposes the following members.
| Name | Description | |
|---|---|---|
| AbstractBilingualParser | Initializes a new instance of the AbstractBilingualParser class |
| Name | Description | |
|---|---|---|
| DocumentProperties |
Default implementation; stores the value in a data member.
| |
| FileRestriction |
Default implementation; sotres the value in a data member.
| |
| ItemFactory |
Default implementation of the ItemFactory property
(Inherited from AbstractBilingualFileTypeComponent.) | |
| MessageReporter |
Accessor for the message reporter
(Inherited from AbstractBilingualFileTypeComponent.) | |
| Output |
Default implementation; stores the value in a data member.
| |
| PropertiesFactory |
Convenience accessor to the properties factory used by the
item factory.
(Inherited from AbstractBilingualFileTypeComponent.) |
| Name | Description | |
|---|---|---|
| Dispose |
Implements IDisposable. Just calls Dispose saying that this is an explicit disposal and
tells the GC not to call the Finalizer.
| |
| Dispose(Boolean) |
Last change for the Parser to dispose manage and unmanged objects.
It can be overriden by subclases.
| |
| Finalize |
The distructor just calls Dispose with false parameter specifying this is a cakl from GC.
(Overrides ObjectFinalize.) | |
| OnProgress |
Raises the Progress event.
| |
| ParseNext |
The framework calls this method to parse a chunk of content.
It must be overridden in derived classes to provide the actual parser implementation.
| |
| ReportMessage(Object, String, ErrorLevel, String, String) |
Calls the corresponding method on the message reporter (if set).
(Inherited from AbstractBilingualFileTypeComponent.) | |
| ReportMessage(Object, String, ErrorLevel, String, TextLocation, TextLocation) |
Calls the corresponding method on the message reporter (if set).
(Inherited from AbstractBilingualFileTypeComponent.) | |
| ReportMessage(Object, String, ErrorLevel, String, String, ExtendedMessageEventData) |
Calls the corresponding method on the message reporter (if set).
(Inherited from AbstractBilingualFileTypeComponent.) | |
| ReportMessage(Object, String, ErrorLevel, String, TextLocation, TextLocation, ExtendedMessageEventData) |
Calls the corresponding method on the message reporter (if set).
(Inherited from AbstractBilingualFileTypeComponent.) |
| Name | Description | |
|---|---|---|
| Progress |
Default implementation of this event. Use OnProgress(Byte) to raise the event.
|
Implementations are not required to derive from this class. It is designed as a convenient default implementation to be used when appropriate.