DocType (String publicID) { String reason = Verifier.checkPublicID(publicID); if (reason != null) { throw new IllegalDataException(publicID, "DocType", reason); } this.publicID = publicID; return this; }