Click or drag to resize
AbstractNativeFileWriter Class
Abstract base class that can be used to build native file writers. Deriving your file writer from this class takes care of some of the basics of implementing file writer interfaces. This class possesses a default implementation of the INativeGenerationContentHandler interface, which does nothing. Simply override the methods that are useful for your implementation to process the relevant content in your derived class.

This class also implements the INativeOutputSettingsAware, and provides access to the output properties through the OutputProperties property.

Inheritance Hierarchy

Namespace: Sdl.FileTypeSupport.Framework.NativeApi
Assembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2343.0)
Syntax
public abstract class AbstractNativeFileWriter : INativeFileWriter, 
	INativeGenerationContentHandler, IAbstractNativeContentHandler, INativeOutputSettingsAware, IDisposable

The AbstractNativeFileWriter type exposes the following members.

Constructors
  NameDescription
Protected methodAbstractNativeFileWriter
Default constructor
Top
Methods
  NameDescription
Public methodChangeContext
Default implementation, does nothing
Public methodCommentEnd
Default implementation, does nothing.
Public methodCommentStart
Default implementation, does nothing.
Public methodCustomInfo
Default implementation, does nothing
Public methodDispose
Implements IDisposable. Just calls Dispose saying that this is an explicit disposal and tells the GC not to call the Finalizer.
Protected methodDispose(Boolean)
Last change for the Parser to dispose manage and unmanged objects. It can be overriden by subclases.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
The distructor just calls Dispose with false parameter specifying this is a cakl from GC.
(Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetProposedOutputFileInfo
Default implementation, does nothing
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInlineEndTag
Default implementation, does nothing
Public methodInlinePlaceholderTag
Default implementation, does nothing
Public methodInlineStartTag
Default implementation, does nothing
Public methodLocationMark
Default implementation, does nothing
Public methodLockedContentEnd
Default implementation, does nothing
Public methodLockedContentStart
Default implementation, does nothing
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodParagraphComments
Default implementation, does nothing.
Public methodParagraphUnitEnd
Default implementation, does nothing
Public methodParagraphUnitStart
Default implementation, does nothing
Public methodRevisionEnd
Default implementation, does nothing.
Public methodRevisionStart
Default implementation, does nothing.
Public methodSegmentEnd
Default implementation, does nothing
Public methodSegmentStart
Default implementation, does nothing
Public methodSetOutputProperties
Default implementation, stores the output properties
Public methodStructureTag
Default implementation, does nothing
Public methodText
Default implementation, does nothing
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyLocationTracker
Default implementation, stores this information in a field
Public propertyMessageReporter
Accessor to the message reporter set by the framework
Public propertyOutputProperties
The output properties that were passed to SetOutputProperties(INativeOutputFileProperties) by the framework.
Top
See Also
Community
Edit
Be the first to Edit the community content of this topic.
Comments