add method

void add (NodeValidator validator)

Add an additional validator to the current list of validators.

Elements and attributes will be accepted if they are accepted by any validators.

Implementation

void add(NodeValidator validator) {
  _validators.add(validator);
}