Click or drag to resize
ISubContentGenerator Interface
Represents a set of bilingual content processors, native content processors, and a native writer, which work together to output native files from bilingual content.

Namespace: Sdl.FileTypeSupport.Framework.IntegrationApi
Assembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2343.0)
Syntax
public interface ISubContentGenerator : IBilingualProcessorContainer, 
	IAbstractGenerator, IFileTypeDefinitionAware

The ISubContentGenerator type exposes the following members.

Methods
  NameDescription
Public methodAddBilingualProcessor
Appends a bilingual content processor to the container.
(Inherited from IBilingualProcessorContainer.)
Public methodAddFileTweaker
Appends a file tweaker that will be used to modify the output file after generating.
Public methodAddNativeVerifier
Appends a native verifier that will be run on the output file after it has been generated.
Public methodGetBilingualProcessors
The content processors, in the order in which they will be invoked
(Inherited from IBilingualProcessorContainer.)
Public methodInsertBilingualProcessor
Inserts a bilingual processor at a specified position in the container. Any item that is currently occupying that position will - after this operation - appear after the inserted processor.
(Inherited from IBilingualProcessorContainer.)
Public methodRemoveBilingualProcessor
(Inherited from IBilingualProcessorContainer.)
Public methodRemoveFileTweaker
Removes the tweaker from the generator.
Top
Properties
  NameDescription
Public propertyAllComponents
Called by the framework during component initialization to initialize components that implement special interfaces such as ISharedObjectsAware before processing starts.
Public propertyBilingualWriter
Writer for a bilingual output format, or null if a native output format is used.
Public propertyFileRestriction
This delegate will be invoked for each file to be processed. If the delegate returns true, the file will be processed as normal, but if it returns false, the file will be skipped.
(Inherited from IBilingualProcessorContainer.)
Public propertyFileTweakers
The file tweakers used by the generator, in the order in which they will be invoked. File tweakers should be added using AddFileTweaker(IFilePostTweaker).
Public propertyFileTypeDefinition
The framework sets this property for components that are instantiated from a file type definition.
(Inherited from IFileTypeDefinitionAware.)
Public propertyInput
All content input to the converter is passed as calls on this interface.
Public propertyItemFactory
The framework will set this property as part of the initialization. While building bilingual components this factory should be used to create any items that are inserted in the bilingual content model.
Public propertyNativeOutputProperties
Properties and settings used when writing the native file. If set, these properties are communicated to all file type components that implement the INativeContentCycleAware interface.
Public propertyNativeSubContentGenerator
The components used to output native content to a file in native format in the source or target language.
Public propertyNativeVerifiers
The native verifiers that are currently used by the generator. Verifiers should be added using AddNativeVerifier(INativeFileVerifier).
Public propertyParagraphUnitRestriction
If set, this delegate will be invoked for each paragraph unit to be processed. If the delegate returns true, the paragraph unit will be processed as normal. If it returns false, the paragraph unit will be skipped.
(Inherited from IBilingualProcessorContainer.)
Public propertyToNativeConverter
The component used when converting bilingual content into native source or target content.
Top
Events
  NameDescription
Public eventMessage
Raised when a message is reported by a file type component.
Top
See Also
Community
Edit
Be the first to Edit the community content of this topic.
Comments