Class AbstractNativeExtractionGenerationContentProcessor
Base class for components that are intended to be used as native content processors,
either for extraction or generation. Implements both interfaces, and stores
the output variable as an IAbstract
Inheritance
Implements
Inherited Members
Namespace: Sdl.FileTypeSupport.Framework.NativeApi
Assembly: Sdl.FileTypeSupport.Framework.Core.dll
Syntax
public abstract class AbstractNativeExtractionGenerationContentProcessor : AbstractNativeFileTypeComponent, INativeFileTypeComponent, INativeContentStreamMessageReporter, IBasicMessageReporter, INativeExtractionContentProcessor, INativeExtractionContentHandler, INativeGenerationContentProcessor, INativeGenerationContentHandler, IAbstractNativeContentHandler
Constructors
AbstractNativeExtractionGenerationContentProcessor()
Protected constructor used by derived classes
Declaration
protected AbstractNativeExtractionGenerationContentProcessor()
Properties
ExtractionOutput
Strongly typed output content handler that can be used when the buffer is used for extraction.
Declaration
public virtual INativeExtractionContentHandler ExtractionOutput { get; set; }
Property Value
Type | Description |
---|---|
INative |
Remarks
Accesses the very same object instance as the Output
and the Generation
GenerationOutput
Strongly typed output content handler that can be used when the buffer is used for generation.
Declaration
public virtual INativeGenerationContentHandler GenerationOutput { get; set; }
Property Value
Type | Description |
---|---|
INative |
Remarks
Accesses the very same object instance as the Output
and the Generation
Output
Agnostic access to the output handler; accesses the
very same object instance as the Extraction
Declaration
public virtual IAbstractNativeContentHandler Output { get; set; }
Property Value
Type | Description |
---|---|
IAbstract |
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 comment 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 |
Explicit Interface Implementations
INativeExtractionContentProcessor.Output
Redirected to Extraction
Declaration
INativeExtractionContentHandler INativeExtractionContentProcessor.Output { get; set; }
Returns
Type | Description |
---|---|
INative |
INativeGenerationContentProcessor.Output
Redirected to Generation
Declaration
INativeGenerationContentHandler INativeGenerationContentProcessor.Output { get; set; }
Returns
Type | Description |
---|---|
INative |