super();
ctor for IdexceptionIllegalArgumentException will be thrown if validation fails try { setValue(stValue); } catch (IllegalArgumentException e) { // recast normalizedString exception as token exception throw new IllegalArgumentException( Messages.getMessage("badIdType00") + "data=[" + stValue + "]"); }
try { setValue(stValue); } catch (IllegalArgumentException e) { // recast normalizedString exception as token exception throw new IllegalArgumentException( Messages.getMessage("badIdType00") + "data=[" + stValue + "]"); }
validate the value against the xsd definition Same validation as NCName for the time being return NCName.isValid(stValue);
return NCName.isValid(stValue);
validates the data and sets the value for the object.paramToken String valuethrowsIllegalArgumentException if invalid format if (Id.isValid(stValue) == false) throw new IllegalArgumentException( Messages.getMessage("badIdType00") + " data=[" + stValue + "]"); m_value = stValue;
if (Id.isValid(stValue) == false) throw new IllegalArgumentException( Messages.getMessage("badIdType00") + " data=[" + stValue + "]"); m_value = stValue;