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