Click or drag to resize
AbstractBilingualParser Class
Base class that can be used to implement bilingual parsers.

Takes care of the basics involved in implementing the IBilingualParser and IBilingualFileTypeComponent interfaces.

Inheritance Hierarchy

Namespace: Sdl.FileTypeSupport.Framework.BilingualApi
Assembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2551.0)
Syntax
public abstract class AbstractBilingualParser : AbstractBilingualFileTypeComponent, 
	IBilingualParser, IDisposable, IBilingualFileTypeComponent

The AbstractBilingualParser type exposes the following members.

Constructors
  NameDescription
Protected methodAbstractBilingualParser
Initializes a new instance of the AbstractBilingualParser class
Top
Properties
  NameDescription
Public propertyDocumentProperties
Default implementation; stores the value in a data member.
Public propertyFileRestriction
Default implementation; sotres the value in a data member.
Public propertyItemFactory
Default implementation of the ItemFactory property
(Inherited from AbstractBilingualFileTypeComponent.)
Public propertyMessageReporter
Accessor for the message reporter
(Inherited from AbstractBilingualFileTypeComponent.)
Public propertyOutput
Default implementation; stores the value in a data member.
Public propertyPropertiesFactory
Convenience accessor to the properties factory used by the item factory.
(Inherited from AbstractBilingualFileTypeComponent.)
Top
Methods
  NameDescription
Public methodDispose
Implements IDisposable. Just calls Dispose saying that this is an explicit disposal and tells the GC not to call the Finalizer.
Protected methodDispose(Boolean)
Last change for the Parser to dispose manage and unmanged objects. It can be overriden by subclases.
Protected methodFinalize
The distructor just calls Dispose with false parameter specifying this is a cakl from GC.
(Overrides ObjectFinalize.)
Public methodOnProgress
Raises the Progress event.
Public methodParseNext
The framework calls this method to parse a chunk of content. It must be overridden in derived classes to provide the actual parser implementation.
Public methodReportMessage(Object, String, ErrorLevel, String, String)
Calls the corresponding method on the message reporter (if set).
(Inherited from AbstractBilingualFileTypeComponent.)
Public methodReportMessage(Object, String, ErrorLevel, String, TextLocation, TextLocation)
Calls the corresponding method on the message reporter (if set).
(Inherited from AbstractBilingualFileTypeComponent.)
Public methodReportMessage(Object, String, ErrorLevel, String, String, ExtendedMessageEventData)
Calls the corresponding method on the message reporter (if set).
(Inherited from AbstractBilingualFileTypeComponent.)
Public methodReportMessage(Object, String, ErrorLevel, String, TextLocation, TextLocation, ExtendedMessageEventData)
Calls the corresponding method on the message reporter (if set).
(Inherited from AbstractBilingualFileTypeComponent.)
Top
Events
  NameDescription
Public eventProgress
Default implementation of this event. Use OnProgress(Byte) to raise the event.
Top
Remarks

Implementations are not required to derive from this class. It is designed as a convenient default implementation to be used when appropriate.

See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments