Class which helps construct standard node validation policies.
By default this will not accept anything, but the 'allow*' functions can be used to expand what types of elements or attributes are allowed.
All allow functions are additive- elements will be accepted if they are accepted by any specific rule.
It is important to remember that sanitization is not just intended to prevent
cross-site scripting attacks, but also to prevent information from being
displayed in unexpected ways. For example something displaying basic
formatted text may not expect <video>
tags to appear. In this case an
empty NodeValidatorBuilder with just allowTextElements might be
appropriate.