Content Quality Annotation
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
content
Quality Manager (Required)
Type: ContentQualityManager
type
(Required)
range
Independent Id (Required)
Type: String
range
(Required)
Type: Object
metadata
(Required)
Type: Object
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.
type
The annotation's type.
Methods
get Current Range Object
Type: Function
Get a range object for the annotation to use in operations. Used for operations.
Returns
is Type
Type: Function
Check if this annotation is of a specific type by namespace and name.
Arguments
Returns