Click or drag to resize
UnknownFormatting Class
Represents a type of formatting that is unknown. The formatting name and its value can be retrieved from these properties.

Objects of this type are typically created as a result of parsing formatting types that are not known to the system. This class allows such formatting to be preserved and persisted.

Inheritance Hierarchy

Namespace: Sdl.FileTypeSupport.Framework.Formatting
Assembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2551.0)
Syntax
[SerializableAttribute]
public class UnknownFormatting : AbstractFormattingItem

The UnknownFormatting type exposes the following members.

Constructors
  NameDescription
Public methodUnknownFormatting
Empty constructor required by the spring framework to construct UnknownFormatting without formatting
Public methodUnknownFormatting(String, String)
Construction from a formatting type name and a value.
Top
Properties
  NameDescription
Public propertyFormattingName
The name of this type of the formatting
(Overrides AbstractFormattingItemFormattingName.)
Public propertyLocalizedFormattingName
A localized representation of this type of formatting
(Overrides AbstractFormattingItemLocalizedFormattingName.)
Public propertyLocalizedStringValue
A localized representation of the formatting value. The default implementation returns StringValue.
(Inherited from AbstractFormattingItem.)
Public propertyStringValue
Returns the value of the formatting, same as Value.
(Overrides AbstractFormattingItemStringValue.)
Public propertyValue
The value of this formatting as a string. This is the same as the StringValue property.
Top
Methods
  NameDescription
Public methodAcceptVisitor (Overrides AbstractFormattingItemAcceptVisitor(IFormattingVisitor).)
Public methodClone
Creates a clone of the unknown formatting.
(Overrides AbstractFormattingItemClone.)
Public methodEquals
Compares the name and value properties of the objects.
(Inherited from AbstractFormattingItem.)
Public methodGetHashCode (Inherited from AbstractFormattingItem.)
Public methodSetFormattingName
Allows the name of this formatting to be explicitly set (this is a read-only property in the base class).
Public methodToString
For debugging; returns "FormattingName = StringValue".
(Inherited from AbstractFormattingItem.)
Top
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments