| 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.
Namespace: Sdl.FileTypeSupport.Framework.Core.Utilities.BilingualApi
The EventFiringBilingualProcessor type exposes the following members.
| Name | Description | |
|---|---|---|
| EventFiringBilingualProcessor |
Default constructor, no functionality
|
| Name | Description | |
|---|---|---|
| Complete |
Raise the BeforeComplete event, make the call on
the output, then raise the AfterComplete event.
(Overrides AbstractBilingualContentProcessorComplete.) | |
| Equals | (Inherited from Object.) | |
| FileComplete |
Raise the BeforeFileComplete event, make the call on
the output, then raise the AfterFileComplete event.
(Overrides AbstractBilingualContentProcessorFileComplete.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Initialize |
Raise the BeforeInitialize event, make the call on
the output, then raise the AfterInitialize event.
(Overrides AbstractBilingualContentProcessorInitialize(IDocumentProperties).) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ProcessParagraphUnit |
Raise the BeforeProcessParagraphUnit event, make the call on
the output, then raise the AfterProcessParagraphUnit event.
(Overrides AbstractBilingualContentProcessorProcessParagraphUnit(IParagraphUnit).) | |
| ReportMessage(Object, String, ErrorLevel, String, String) |
Calls the corresponding method on the message reporter (if set).
(Inherited from AbstractBilingualFileTypeComponent.) | |
| ReportMessage(Object, String, ErrorLevel, String, TextLocation, TextLocation) |
Calls the corresponding method on the message reporter (if set).
(Inherited from AbstractBilingualFileTypeComponent.) | |
| ReportMessage(Object, String, ErrorLevel, String, String, ExtendedMessageEventData) |
Calls the corresponding method on the message reporter (if set).
(Inherited from AbstractBilingualFileTypeComponent.) | |
| ReportMessage(Object, String, ErrorLevel, String, TextLocation, TextLocation, ExtendedMessageEventData) |
Calls the corresponding method on the message reporter (if set).
(Inherited from AbstractBilingualFileTypeComponent.) | |
| SetFileProperties |
Raise the BeforeSetFileProperties event, make the call on
the output, then raise the AfterSetFileProperties event.
(Overrides AbstractBilingualContentProcessorSetFileProperties(IFileProperties).) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| ItemFactory |
Default implementation of the ItemFactory property
(Inherited from AbstractBilingualFileTypeComponent.) | |
| MessageReporter |
Accessor for the message reporter
(Inherited from AbstractBilingualFileTypeComponent.) | |
| Output |
Default implementation is an accessor to a member
(Inherited from AbstractBilingualContentProcessor.) | |
| PropertiesFactory |
Convenience accessor to the properties factory used by the
item factory.
(Inherited from AbstractBilingualFileTypeComponent.) |
| Name | Description | |
|---|---|---|
| AfterComplete |
Raised by calls to Complete after making the
call to the output
| |
| AfterFileComplete |
Raised by calls to FileComplete after making the
call to the output
| |
| AfterInitialize |
Raised by calls to Initialize(IDocumentProperties) after making the
call to the output
| |
| AfterProcessParagraphUnit |
Raised by calls to ProcessParagraphUnit(IParagraphUnit) after making the
call to the output
| |
| AfterSetFileProperties |
Raised by calls to SetFileProperties(IFileProperties) after making the
call to the output
| |
| BeforeComplete |
Raised by calls to Complete before making the
call to the output
| |
| BeforeFileComplete |
Raised by calls to FileComplete before making the
call to the output
| |
| BeforeInitialize |
Raised by calls to Initialize(IDocumentProperties) before making the
call to the output
| |
| BeforeProcessParagraphUnit |
Raised by calls to ProcessParagraphUnit(IParagraphUnit) before making the
call to the output
| |
| BeforeSetFileProperties |
Raised by calls to SetFileProperties(IFileProperties) before making the
call to the output
|