*
* @param name the name to check
* @throws InvalidDDMSException if the name is not an NMTOKEN.
*/
public static void requireValidNMToken(String name) throws InvalidDDMSException {
if (!(new Name10Checker().isValidNmtoken(getNonNullString(name))))
throw new InvalidDDMSException("\"" + name + "\" is not a valid NMTOKEN.");
}