Class AbstractBilingualContentProcessor
Abstract base class for convenient implementation of bilingual content processors. Provides the default implementations for the content processor methods that call the corresponding methods on the Output. You just need to override the ones you are interested in, and call the base class to output content.
Inheritance
Implements
Inherited Members
Namespace: SdlSdl.FileTypeSupportFrameworkBilingualApi
Assembly: Sdl.FileTypeSupport.Framework.Core.dll
Syntax
public abstract class AbstractBilingualContentProcessor : AbstractBilingualContentHandler, IBilingualFileTypeComponent, IBilingualContentMessageReporter, IBasicMessageReporter, IBilingualContentMessageReporterWithExtendedData, IBasicMessageReporterWithExtendedData, IBilingualContentProcessor, IBilingualContentHandler
Remarks
Implementations are not required to derive from this class. It is designed as a convenient default implementation to be used when appropriate.
Constructors
AbstractBilingualContentProcessor()
Default constructor - sets Output to null
.
Declaration
protected AbstractBilingualContentProcessor()
Properties
Output
Default implementation is an accessor to a member
Declaration
public virtual IBilingualContentHandler Output { get; set; }
Property Value
Type | Description |
---|---|
IBilingualContentHandler |
Methods
Complete()
Calls the corresponding method on the Output.
Declaration
public override void Complete()
Overrides
FileComplete()
Calls the corresponding method on the Output.
Declaration
public override void FileComplete()
Overrides
Initialize(IDocumentProperties)
Calls the corresponding method on the Output.
Declaration
public override void Initialize(IDocumentProperties documentInfo)
Parameters
Type | Name | Description |
---|---|---|
IDocumentProperties | documentInfo |
Overrides
ProcessParagraphUnit(IParagraphUnit)
Calls the corresponding method on the Output.
Declaration
public override void ProcessParagraphUnit(IParagraphUnit paragraphUnit)
Parameters
Type | Name | Description |
---|---|---|
IParagraphUnit | paragraphUnit |
Overrides
SetFileProperties(IFileProperties)
Calls the corresponding method on the Output.
Declaration
public override void SetFileProperties(IFileProperties fileInfo)
Parameters
Type | Name | Description |
---|---|---|
IFileProperties | fileInfo |