Interface IBilingualDocumentParser
Parser for intermediate bilingual document formats such as SDL XLIFF, which are used for persistence of the entire bilingual object model.
Inherited Members
Namespace: Sdl.FileTypeSupport.Framework.BilingualApi
Assembly: Sdl.FileTypeSupport.Framework.Core.dll
Syntax
public interface IBilingualDocumentParser : IBilingualParser, IParser, IDisposable, IBilingualFileTypeComponent
Remarks
This interface should not be implemented by parsers that handle content from a single native input file, even if that content is bilingual (like TTX or ITD). Such parsers should just implement IBilingualParser.
Properties
DependencyFileLocator
If specified, this delegate can be used to locate dependency files that are linked, but missing.
Declaration
DependencyFileLocator DependencyFileLocator { get; set; }
Property Value
Type | Description |
---|---|
DependencyFileLocator |
FileRestriction
This property is set by the framework during initialization. The delegate will be invoked to determine which files in a multi-file document should generate output.
Declaration
Predicate<IPersistentFileConversionProperties> FileRestriction { get; set; }
Property Value
Type | Description |
---|---|
System.Predicate<IPersistentFileConversionProperties> |
Remarks
The bilingual parser is not required to test this delegate for each file it processes. The framework will invoke the delegate to block content from files from being propagated through the framework. The delegate is provided through this property to give the bilingual parser implementation a chance to optimize its processing by directly skipping files who's content will anyway not be propagated through the framework.
If this property is null
no restrictions apply and all files
will be processed.