Interface used to validate that only accepted elements and attributes are allowed while parsing HTML strings into DOM nodes.
In general, customization of validation behavior should be done via the NodeValidatorBuilder class to mitigate the chances of incorrectly implementing validation rules.