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