Class AbstractNativeExtractionContentProcessor
Abstract base class that can be used to build native content extraction processors.
The default implementation provides a transparent "do nothing" content processor that simply forwards the calls that it receives on its INativeExtractionContentHandler implementation to the output.
Your implementation can simply override the content handler methods for the type of content that 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 AbstractNativeExtractionContentProcessor : AbstractNativeFileTypeComponent, INativeFileTypeComponent, INativeContentStreamMessageReporter, IBasicMessageReporter, INativeExtractionContentProcessor, INativeExtractionContentHandler, IAbstractNativeContentHandler
Constructors
AbstractNativeExtractionContentProcessor()
Protected constructor used by derived classes
Declaration
protected AbstractNativeExtractionContentProcessor()
Properties
Output
Default implementation of the Output property
Declaration
public virtual INativeExtractionContentHandler Output { get; set; }
Property Value
| Type | Description |
|---|---|
| INativeExtractionContentHandler |
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 comment 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. |
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. |
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 |