Click or drag to resize
EventFiringBilingualProcessor Class

This component is a bilingual content processor that implements the IBilingualContentHandler interface by raising events before and after each corresponding call on the Output.

Event handlers can be used to provide selective processing of calls, before and after they are made on the output.

Handlers that modify the content should be connected to the Before... events. If content is changed in an After... event, the output may not be aware of those changes.

This provides a convenient way of adding pieces of bilingual processing functionality without having to define a full bilingual processor.

Inheritance Hierarchy

Namespace: Sdl.FileTypeSupport.Framework.Core.Utilities.BilingualApi
Assembly: Sdl.FileTypeSupport.Framework.Core.Utilities (in Sdl.FileTypeSupport.Framework.Core.Utilities.dll) Version: 1.0.0.0 (1.0.2551.0)
Syntax
public class EventFiringBilingualProcessor : AbstractBilingualContentProcessor

The EventFiringBilingualProcessor type exposes the following members.

Constructors
  NameDescription
Public methodEventFiringBilingualProcessor
Default constructor, no functionality
Top
Properties
  NameDescription
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 is an accessor to a member
(Inherited from AbstractBilingualContentProcessor.)
Public propertyPropertiesFactory
Convenience accessor to the properties factory used by the item factory.
(Inherited from AbstractBilingualFileTypeComponent.)
Top
Methods
  NameDescription
Public methodComplete
Raise the BeforeComplete event, make the call on the output, then raise the AfterComplete event.
(Overrides AbstractBilingualContentProcessorComplete.)
Public methodFileComplete
Raise the BeforeFileComplete event, make the call on the output, then raise the AfterFileComplete event.
(Overrides AbstractBilingualContentProcessorFileComplete.)
Public methodInitialize
Raise the BeforeInitialize event, make the call on the output, then raise the AfterInitialize event.
(Overrides AbstractBilingualContentProcessorInitialize(IDocumentProperties).)
Public methodProcessParagraphUnit
Raise the BeforeProcessParagraphUnit event, make the call on the output, then raise the AfterProcessParagraphUnit event.
(Overrides AbstractBilingualContentProcessorProcessParagraphUnit(IParagraphUnit).)
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.)
Public methodSetFileProperties
Raise the BeforeSetFileProperties event, make the call on the output, then raise the AfterSetFileProperties event.
(Overrides AbstractBilingualContentProcessorSetFileProperties(IFileProperties).)
Top
Events
  NameDescription
Public eventAfterComplete
Raised by calls to Complete after making the call to the output
Public eventAfterFileComplete
Public eventAfterInitialize
Raised by calls to Initialize(IDocumentProperties) after making the call to the output
Public eventAfterProcessParagraphUnit
Raised by calls to ProcessParagraphUnit(IParagraphUnit) after making the call to the output
Public eventAfterSetFileProperties
Raised by calls to SetFileProperties(IFileProperties) after making the call to the output
Public eventBeforeComplete
Raised by calls to Complete before making the call to the output
Public eventBeforeFileComplete
Raised by calls to FileComplete before making the call to the output
Public eventBeforeInitialize
Raised by calls to Initialize(IDocumentProperties) before making the call to the output
Public eventBeforeProcessParagraphUnit
Raised by calls to ProcessParagraphUnit(IParagraphUnit) before making the call to the output
Public eventBeforeSetFileProperties
Raised by calls to SetFileProperties(IFileProperties) before making the call to the output
Top
See Also
Community
Edit

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