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: Sdl.FileTypeSupport.Framework.BilingualApi
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()
Remarks
Implementations are not required to derive from this class. It is designed as a convenient default implementation to be used when appropriate.
Properties
Output
Default implementation is an accessor to a member
Declaration
public virtual IBilingualContentHandler Output { get; set; }
Property Value
Type | Description |
---|---|
IBilingualContentHandler |
Remarks
Implementations are not required to derive from this class. It is designed as a convenient default implementation to be used when appropriate.
Methods
Complete()
Calls the corresponding method on the Output.
Declaration
public override void Complete()
Overrides
Remarks
Implementations are not required to derive from this class. It is designed as a convenient default implementation to be used when appropriate.
FileComplete()
Calls the corresponding method on the Output.
Declaration
public override void FileComplete()
Overrides
Remarks
Implementations are not required to derive from this class. It is designed as a convenient default implementation to be used when appropriate.
Initialize(IDocumentProperties)
Calls the corresponding method on the Output.
Declaration
public override void Initialize(IDocumentProperties documentInfo)
Parameters
Type | Name | Description |
---|---|---|
IDocumentProperties | documentInfo |
Overrides
Remarks
Implementations are not required to derive from this class. It is designed as a convenient default implementation to be used when appropriate.
ProcessParagraphUnit(IParagraphUnit)
Calls the corresponding method on the Output.
Declaration
public override void ProcessParagraphUnit(IParagraphUnit paragraphUnit)
Parameters
Type | Name | Description |
---|---|---|
IParagraphUnit | paragraphUnit |
Overrides
Remarks
Implementations are not required to derive from this class. It is designed as a convenient default implementation to be used when appropriate.
SetFileProperties(IFileProperties)
Calls the corresponding method on the Output.
Declaration
public override void SetFileProperties(IFileProperties fileInfo)
Parameters
Type | Name | Description |
---|---|---|
IFileProperties | fileInfo |
Overrides
Remarks
Implementations are not required to derive from this class. It is designed as a convenient default implementation to be used when appropriate.