protected void set_text(String s) { // first check against any patterns... if (_validateOnSet() && !_schemaType.matchPatternFacet(s)) throw new XmlValueOutOfRangeException(XmlErrorCodes.DATATYPE_VALID$PATTERN_VALID, new Object[] { "list", s, QNameHelper.readable(_schemaType) }); SchemaType itemType = _schemaType.getListItemType(); XmlSimpleList newval = lex(s, itemType, _voorVc, has_store() ? get_store() : null); // check enumeration if (_validateOnSet()) validateValue(newval, _schemaType, _voorVc); // we made it all the way through; so we're OK. _value = newval; _jvalue = null; }
protected void set_text(String s) { // first check against any patterns... if (_validateOnSet() && !_schemaType.matchPatternFacet(s)) throw new XmlValueOutOfRangeException(XmlErrorCodes.DATATYPE_VALID$PATTERN_VALID, new Object[] { "list", s, QNameHelper.readable(_schemaType) }); SchemaType itemType = _schemaType.getListItemType(); XmlSimpleList newval = lex(s, itemType, _voorVc, has_store() ? get_store() : null); // check enumeration if (_validateOnSet()) validateValue(newval, _schemaType, _voorVc); // we made it all the way through; so we're OK. _value = newval; _jvalue = null; }
protected void set_text(String s) { // first check against any patterns... if (_validateOnSet() && !_schemaType.matchPatternFacet(s)) throw new XmlValueOutOfRangeException(XmlErrorCodes.DATATYPE_VALID$PATTERN_VALID, new Object[] { "list", s, QNameHelper.readable(_schemaType) }); SchemaType itemType = _schemaType.getListItemType(); XmlSimpleList newval = lex(s, itemType, _voorVc, has_store() ? get_store() : null); // check enumeration if (_validateOnSet()) validateValue(newval, _schemaType, _voorVc); // we made it all the way through; so we're OK. _value = newval; _jvalue = null; }