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.2343.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
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
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
Properties
  NameDescription
Public propertyCollectedText
The text that has been collected by the visitor.
Top
See Also
Community
Edit
Be the first to Edit the community content of this topic.
Comments