Click or drag to resize
TextCollectionVisitor Class
A visitor that can be used to collect all the text in IAbstractMarkupData. If the markup data is an IAbstractMarkupDataContainer then its children will be iterated over and included in the collection.
Inheritance Hierarchy
SystemObject
  Sdl.FileTypeSupport.Framework.Core.Utilities.BilingualApiTextCollectionVisitor

Namespace: Sdl.FileTypeSupport.Framework.Core.Utilities.BilingualApi
Assembly: Sdl.FileTypeSupport.Framework.Core.Utilities (in Sdl.FileTypeSupport.Framework.Core.Utilities.dll) Version: 1.0.0.0 (1.0.2551.0)
Syntax
public class TextCollectionVisitor : IMarkupDataVisitor

The TextCollectionVisitor type exposes the following members.

Constructors
  NameDescription
Public methodTextCollectionVisitor
Constructor that allows collection of tag content as text.
Top
Properties
  NameDescription
Public propertyCollectedText
The text that has been collected by the visitor.
Top
Methods
  NameDescription
Public methodVisitCommentMarker
Iterates over the children of comments.
Public methodVisitLocationMarker
Location markers are not processed.
Public methodVisitLockedContent
Iterates over children of locked content.
Public methodVisitOtherMarker
Iterates over children of other markers.
Public methodVisitPlaceholderTag
Visits a placeholder tag. If processing tag content as text then the tag content will be inserted.
Public methodVisitRevisionMarker
Treats content within revision markers as if the changes were accepted by the user. This means that revision content marked as RevisionType.Insert will be counted, while content marked as RevisionType.Delete will be ignored.
Public methodVisitSegment
Iterates over the segment to process its children.
Public methodVisitTagPair
Iterates over the children of a tag pair. If processing tag content as text then the start and end tag content will also be processed.
Public methodVisitText
Adds the content of the text to the collection.
Top
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments