| IFormattingItemFactory Interface |
Namespace: Sdl.FileTypeSupport.Framework.Formatting
The IFormattingItemFactory type exposes the following members.
| Name | Description | |
|---|---|---|
| CreateFormatting |
Creates a new empty formatting collection.
| |
| CreateFormattingItem |
Instantiates the most appropriate formatting item derived class
and initializes it with the specified value.
|
The Sdl.FileTypeSupport.Framework.Core.Utilities.Formatting.FormattingItemFactory class provides a default implementation of this interface, and it supports all strongly typed, well-known formatting types, as defined in the IFormattingVisitor. The default factory uses UnknownFormatting for anything else.
If you define your own additional formatting types, you can implement your own factory to ensure that these types are used during de-serialization.