protected void set_text(String s) { if (_validateOnSet()) validateLexical(s, _schemaType, _voorVc); super.set_text(s); }
public JavaStringHolderEx(SchemaType type, boolean complex) { _schemaType = type; initComplexType(complex, false); }
protected void validate_simpleval(String lexical, ValidationContext ctx) { validateLexical(stringValue(), schemaType(), ctx); }
protected boolean is_defaultable_ws(String v) { try { validateLexical(v, _schemaType, _voorVc); return false; } catch (XmlValueOutOfRangeException e) { return true; } }
protected void set_enum(StringEnumAbstractBase se) { Class ejc = schemaType().getEnumJavaClass(); if (ejc != null && !se.getClass().equals(ejc)) throw new XmlValueOutOfRangeException(); super.set_text(se.toString()); _val = se; } }
protected void set_nil() { _val = null; super.set_nil(); }
protected int get_wscanon_rule() { return schemaType().getWhiteSpaceRule(); }
public static void validateLexical(String v, SchemaType sType, ValidationContext context) { JavaStringHolderEx.validateLexical(v, sType, context); }
protected void set_text(String s) { StringEnumAbstractBase se = schemaType().enumForString(s); if (se == null) throw new XmlValueOutOfRangeException(XmlErrorCodes.DATATYPE_ENUM_VALID, new Object[] { "string", s, QNameHelper.readable(schemaType()) }); super.set_text(s); _val = se; }
protected void set_nil() { _val = null; super.set_nil(); }
protected int get_wscanon_rule() { return schemaType().getWhiteSpaceRule(); }
protected void validate_simpleval(String lexical, ValidationContext ctx) { validateLexical(stringValue(), schemaType(), ctx); }
protected void set_text(String s) { if (_validateOnSet()) validateLexical(s, _schemaType, _voorVc); super.set_text(s); }
protected boolean is_defaultable_ws(String v) { try { validateLexical(v, _schemaType, _voorVc); return false; } catch (XmlValueOutOfRangeException e) { return true; } }
protected void set_enum(StringEnumAbstractBase se) { Class ejc = schemaType().getEnumJavaClass(); if (ejc != null && !se.getClass().equals(ejc)) throw new XmlValueOutOfRangeException(); super.set_text(se.toString()); _val = se; } }
protected void set_nil() { _val = null; super.set_nil(); }
protected int get_wscanon_rule() { return schemaType().getWhiteSpaceRule(); }
public JavaStringHolderEx(SchemaType type, boolean complex) { _schemaType = type; initComplexType(complex, false); }
protected void validate_simpleval(String lexical, ValidationContext ctx) { validateLexical(stringValue(), schemaType(), ctx); }
protected void set_text(String s) { if (_validateOnSet()) validateLexical(s, _schemaType, _voorVc); super.set_text(s); }