/**
* @see nu.validator.htmlparser.impl.TreeBuilder#appendDoctypeToDocument(java.lang.String, java.lang.String, java.lang.String)
*/
@Override
protected void appendDoctypeToDocument(String name, String publicIdentifier, String systemIdentifier) {
DTD dtd = new DTD(tokenizer, name, publicIdentifier, systemIdentifier);
dtd.setEndLocator(tokenizer);
document.appendChild(dtd);
}