ContentQualityAnnotation

Type: Class

A Content Quality annotation. These are always created by the Content Quality manager, and should not be created any other way.

Constructor arguments

  1. contentQualityManager

    (Required)

  2. type

  3. rangeIndependentId

    (Required)

    Type: String

  4. range

    (Required)

    Type: Object

  5. metadata

    (Required)

    Type: Object

  6. node

    (Required)

    Type: Node

Properties

id

Type: String

Id of the annotation as assigned by the manager.

metadata

Type: Object

Metadata as supplied by the backend annotator.

text

Type: String

The text contained by the annotation's range.

The annotation's type.

Methods

getCurrentRangeObject

Type: Function

Get a range object for the annotation to use in operations. Used for operations.

Returns

isType

Type: Function

Check if this annotation is of a specific type by namespace and name.

Arguments

Returns