Class AbstractNativeGenerationContentProcessor
Abstract base class that can be used to build native content generation processors.
The default implementation provides a transparent "do nothing"
content processor that simply forwards the calls that it receives on
its INative
Your implementation can simply override the content handler methods for the type of content it is interested in, and rely on the default implementations for anything else.
Implements
Inherited Members
Namespace: Sdl.FileTypeSupport.Framework.NativeApi
Assembly: Sdl.FileTypeSupport.Framework.Core.dll
Syntax
public abstract class AbstractNativeGenerationContentProcessor : AbstractNativeFileTypeComponent, INativeFileTypeComponent, INativeContentStreamMessageReporter, IBasicMessageReporter, INativeGenerationContentProcessor, INativeGenerationContentHandler, IAbstractNativeContentHandler
Constructors
AbstractNativeGenerationContentProcessor()
Protected constructor used by derived classes
Declaration
protected AbstractNativeGenerationContentProcessor()
Properties
Output
Stores the output property in a field.
Declaration
public virtual INativeGenerationContentHandler Output { get; set; }
Property Value
Type | Description |
---|---|
INative |
Methods
ChangeContext(IContextProperties)
Calls Change
Declaration
public virtual void ChangeContext(IContextProperties contexts)
Parameters
Type | Name | Description |
---|---|---|
IContext |
contexts |
CommentEnd()
Calls Comment
Declaration
public virtual void CommentEnd()
CommentStart(ICommentProperties)
Calls Comment
Declaration
public virtual void CommentStart(ICommentProperties commentInfo)
Parameters
Type | Name | Description |
---|---|---|
IComment |
commentInfo | The commnet properties. |
CustomInfo(ICustomInfoProperties)
Calls Custom
Declaration
public virtual void CustomInfo(ICustomInfoProperties info)
Parameters
Type | Name | Description |
---|---|---|
ICustom |
info |
InlineEndTag(IEndTagProperties)
Calls Inline
Declaration
public virtual void InlineEndTag(IEndTagProperties tagInfo)
Parameters
Type | Name | Description |
---|---|---|
IEnd |
tagInfo |
InlinePlaceholderTag(IPlaceholderTagProperties)
Calls Inline
Declaration
public virtual void InlinePlaceholderTag(IPlaceholderTagProperties tagInfo)
Parameters
Type | Name | Description |
---|---|---|
IPlaceholder |
tagInfo |
InlineStartTag(IStartTagProperties)
Calls Inline
Declaration
public virtual void InlineStartTag(IStartTagProperties tagInfo)
Parameters
Type | Name | Description |
---|---|---|
IStart |
tagInfo |
LocationMark(LocationMarkerId)
Calls Location
Declaration
public virtual void LocationMark(LocationMarkerId markerId)
Parameters
Type | Name | Description |
---|---|---|
Location |
markerId |
LockedContentEnd()
Calls Locked
Declaration
public virtual void LockedContentEnd()
LockedContentStart(ILockedContentProperties)
Calls Locked
Declaration
public virtual void LockedContentStart(ILockedContentProperties lockedContentInfo)
Parameters
Type | Name | Description |
---|---|---|
ILocked |
lockedContentInfo |
ParagraphComments(ICommentProperties)
Calls Paragraph
Declaration
public virtual void ParagraphComments(ICommentProperties commentInfo)
Parameters
Type | Name | Description |
---|---|---|
IComment |
commentInfo | The commnet properties. |
ParagraphUnitEnd()
Calls Paragraph
Declaration
public virtual void ParagraphUnitEnd()
ParagraphUnitStart(IParagraphUnitProperties)
Calls Paragraph
Declaration
public virtual void ParagraphUnitStart(IParagraphUnitProperties properties)
Parameters
Type | Name | Description |
---|---|---|
IParagraph |
properties |
RevisionEnd()
Calls Revision
Declaration
public virtual void RevisionEnd()
RevisionStart(IRevisionProperties)
Calls Revision
Declaration
public virtual void RevisionStart(IRevisionProperties revisionInfo)
Parameters
Type | Name | Description |
---|---|---|
IRevision |
revisionInfo | The revision properties. |
SegmentEnd()
Calls Segment
Declaration
public virtual void SegmentEnd()
SegmentStart(ISegmentPairProperties)
Calls Segment
Declaration
public virtual void SegmentStart(ISegmentPairProperties properties)
Parameters
Type | Name | Description |
---|---|---|
ISegment |
properties |
StructureTag(IStructureTagProperties)
Calls Structure
Declaration
public virtual void StructureTag(IStructureTagProperties tagInfo)
Parameters
Type | Name | Description |
---|---|---|
IStructure |
tagInfo |
Text(ITextProperties)
Calls Text(IText
Declaration
public virtual void Text(ITextProperties textInfo)
Parameters
Type | Name | Description |
---|---|---|
IText |
textInfo |