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 INativeGenerationContentHandler implementation to the output.
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: SdlSdl.FileTypeSupportFrameworkNativeApi
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 |
---|---|
INativeGenerationContentHandler |
Methods
ChangeContext(IContextProperties)
Calls ChangeContext(IContextProperties) on the Output (if set).
Declaration
public virtual void ChangeContext(IContextProperties contexts)
Parameters
Type | Name | Description |
---|---|---|
IContextProperties | contexts |
CommentEnd()
Calls CommentEnd() on the Output.
Declaration
public virtual void CommentEnd()
CommentStart(ICommentProperties)
Calls CommentStart(ICommentProperties) on the Output.
Declaration
public virtual void CommentStart(ICommentProperties commentInfo)
Parameters
Type | Name | Description |
---|---|---|
ICommentProperties | commentInfo | The commnet properties. |
CustomInfo(ICustomInfoProperties)
Calls CustomInfo(ICustomInfoProperties) on the Output (if set).
Declaration
public virtual void CustomInfo(ICustomInfoProperties info)
Parameters
Type | Name | Description |
---|---|---|
ICustomInfoProperties | info |
InlineEndTag(IEndTagProperties)
Calls InlineEndTag(IEndTagProperties) on the Output (if set).
Declaration
public virtual void InlineEndTag(IEndTagProperties tagInfo)
Parameters
Type | Name | Description |
---|---|---|
IEndTagProperties | tagInfo |
InlinePlaceholderTag(IPlaceholderTagProperties)
Calls InlinePlaceholderTag(IPlaceholderTagProperties) on the Output (if set).
Declaration
public virtual void InlinePlaceholderTag(IPlaceholderTagProperties tagInfo)
Parameters
Type | Name | Description |
---|---|---|
IPlaceholderTagProperties | tagInfo |
InlineStartTag(IStartTagProperties)
Calls InlineStartTag(IStartTagProperties) on the Output (if set).
Declaration
public virtual void InlineStartTag(IStartTagProperties tagInfo)
Parameters
Type | Name | Description |
---|---|---|
IStartTagProperties | tagInfo |
LocationMark(LocationMarkerId)
Calls LocationMark(LocationMarkerId) on the Output (if set).
Declaration
public virtual void LocationMark(LocationMarkerId markerId)
Parameters
Type | Name | Description |
---|---|---|
LocationMarkerId | markerId |
LockedContentEnd()
Calls LockedContentEnd() on the Output.
Declaration
public virtual void LockedContentEnd()
LockedContentStart(ILockedContentProperties)
Calls LockedContentStart(ILockedContentProperties) on the Output.
Declaration
public virtual void LockedContentStart(ILockedContentProperties lockedContentInfo)
Parameters
Type | Name | Description |
---|---|---|
ILockedContentProperties | lockedContentInfo |
ParagraphComments(ICommentProperties)
Calls ParagraphComments(ICommentProperties) on the Output.
Declaration
public virtual void ParagraphComments(ICommentProperties commentInfo)
Parameters
Type | Name | Description |
---|---|---|
ICommentProperties | commentInfo | The commnet properties. |
ParagraphUnitEnd()
Calls ParagraphUnitEnd() on the Output (if set).
Declaration
public virtual void ParagraphUnitEnd()
ParagraphUnitStart(IParagraphUnitProperties)
Calls ParagraphUnitStart(IParagraphUnitProperties) on the Output (if set).
Declaration
public virtual void ParagraphUnitStart(IParagraphUnitProperties properties)
Parameters
Type | Name | Description |
---|---|---|
IParagraphUnitProperties | properties |
RevisionEnd()
Calls RevisionEnd() on the Output.
Declaration
public virtual void RevisionEnd()
RevisionStart(IRevisionProperties)
Calls RevisionStart(IRevisionProperties) on the Output.
Declaration
public virtual void RevisionStart(IRevisionProperties revisionInfo)
Parameters
Type | Name | Description |
---|---|---|
IRevisionProperties | revisionInfo | The revision properties. |
SegmentEnd()
Calls SegmentEnd() on the Output (if set).
Declaration
public virtual void SegmentEnd()
SegmentStart(ISegmentPairProperties)
Calls SegmentStart(ISegmentPairProperties) on the Output (if set).
Declaration
public virtual void SegmentStart(ISegmentPairProperties properties)
Parameters
Type | Name | Description |
---|---|---|
ISegmentPairProperties | properties |
StructureTag(IStructureTagProperties)
Calls StructureTag(IStructureTagProperties) on the Output (if set).
Declaration
public virtual void StructureTag(IStructureTagProperties tagInfo)
Parameters
Type | Name | Description |
---|---|---|
IStructureTagProperties | tagInfo |
Text(ITextProperties)
Calls Text(ITextProperties) on the Output (if set).
Declaration
public virtual void Text(ITextProperties textInfo)
Parameters
Type | Name | Description |
---|---|---|
ITextProperties | textInfo |