Attribute (final String name) { if (name == null) { throw new NullPointerException( "Can not set a null name for an Attribute."); } final String reason = Verifier.checkAttributeName(name); if (reason != null) { throw new IllegalNameException(name, "attribute", reason); } this.name = name; specified = true; return this; }