Search Results for

    Show / Hide Table of Contents

    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
    object
    AbstractBilingualFileTypeComponent
    AbstractBilingualContentHandler
    AbstractBilingualContentProcessor
    EventFiringBilingualProcessor
    SourceToTargetCopier
    Implements
    IBilingualFileTypeComponent
    IBilingualContentMessageReporter
    IBasicMessageReporter
    IBilingualContentMessageReporterWithExtendedData
    IBasicMessageReporterWithExtendedData
    IBilingualContentProcessor
    IBilingualContentHandler
    Inherited Members
    AbstractBilingualFileTypeComponent.ReportMessage(object, string, ErrorLevel, string, TextLocation, TextLocation)
    AbstractBilingualFileTypeComponent.ReportMessage(object, string, ErrorLevel, string, TextLocation, TextLocation, ExtendedMessageEventData)
    AbstractBilingualFileTypeComponent.ReportMessage(object, string, ErrorLevel, string, string)
    AbstractBilingualFileTypeComponent.ReportMessage(object, string, ErrorLevel, string, string, ExtendedMessageEventData)
    AbstractBilingualFileTypeComponent.ItemFactory
    AbstractBilingualFileTypeComponent.PropertiesFactory
    AbstractBilingualFileTypeComponent.MessageReporter
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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()

    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
    AbstractBilingualContentHandler.Complete()

    FileComplete()

    Calls the corresponding method on the Output.

    Declaration
    public override void FileComplete()
    Overrides
    AbstractBilingualContentHandler.FileComplete()

    Initialize(IDocumentProperties)

    Calls the corresponding method on the Output.

    Declaration
    public override void Initialize(IDocumentProperties documentInfo)
    Parameters
    Type Name Description
    IDocumentProperties documentInfo
    Overrides
    AbstractBilingualContentHandler.Initialize(IDocumentProperties)

    ProcessParagraphUnit(IParagraphUnit)

    Calls the corresponding method on the Output.

    Declaration
    public override void ProcessParagraphUnit(IParagraphUnit paragraphUnit)
    Parameters
    Type Name Description
    IParagraphUnit paragraphUnit
    Overrides
    AbstractBilingualContentHandler.ProcessParagraphUnit(IParagraphUnit)

    SetFileProperties(IFileProperties)

    Calls the corresponding method on the Output.

    Declaration
    public override void SetFileProperties(IFileProperties fileInfo)
    Parameters
    Type Name Description
    IFileProperties fileInfo
    Overrides
    AbstractBilingualContentHandler.SetFileProperties(IFileProperties)

    Implements

    IBilingualFileTypeComponent
    IBilingualContentMessageReporter
    IBasicMessageReporter
    IBilingualContentMessageReporterWithExtendedData
    IBasicMessageReporterWithExtendedData
    IBilingualContentProcessor
    IBilingualContentHandler
    In this article
    • Constructors
      • AbstractBilingualContentProcessor()
    • Properties
      • Output
    • Methods
      • Complete()
      • FileComplete()
      • Initialize(IDocumentProperties)
      • ProcessParagraphUnit(IParagraphUnit)
      • SetFileProperties(IFileProperties)
    • Implements
    Back to top Generated by DocFX