This class is used by the DTD scanner and the validator classes, allowing them to be used separately or together.