Class AttributionNoticeAbstract

The AttributionNotice abstract class serves as the blueprint for other subclasses that are instances of AttributionNotices (e.g CopiedTemplate). It provides the basic functionality for the processing of attribution notices.

Hierarchy (view full)

Implements

Constructors

Properties

id: string

A unique ID for this template. Derived from the template name and its Parsoid about.

name: string

A unique name for this template. Derived from the Parsoid about for its node.

The template transclusion node that serves as a reference to an element on the Parsoid DOM.

Accessors

Methods

  • Extracts the parameters from this notice and stores them in the object. This must NEVER destroy unknown parameters. This function does not always pull all parameters from the template, only those that are known.

    This should be implemented by subclasses.

    Returns void