Interface IBilingualParser
Interface implemented by components that can read bilingual data from an external source.
Inherited Members
Namespace: Sdl.FileTypeSupport.Framework.BilingualApi
Assembly: Sdl.FileTypeSupport.Framework.Core.dll
Syntax
public interface IBilingualParser : IParser, IDisposable, IBilingualFileTypeComponent
Remarks
The IBilingualFileTypeComponent implementation is used to get hold of the item and property object factories needed to build the bilingual content model objects that are required to generate output from the parser.
If a bilingual parser already has existing instances of the factories, these will be used by all the framework components.
Parsers for full intermediate bilingual file formats such as SDL XLIFF should implement IBilingualDocumentParser.
Properties
DocumentProperties
This property is set by the framework before parsing commences. The instance provided through this property should be initialized and used by the bilingual parser for the Initialize() call on the bilingual content processor Output property.
Declaration
IDocumentProperties DocumentProperties { get; set; }
Property Value
Type | Description |
---|---|
IDocumentProperties |
Output
This property is set by the framework during initialization of the bilingual parser. The parser should build bilingual content model objects, and call methods on this interface as appropriate to generate the output.
Declaration
IBilingualContentHandler Output { get; set; }
Property Value
Type | Description |
---|---|
IBilingualContentHandler |