protected void set_text(String s) { GDuration newVal; if (_validateOnSet()) newVal = validateLexical(s, _schemaType, _voorVc); else newVal = lex(s, _voorVc); if (_validateOnSet() && newVal != null) validateValue(newVal, _schemaType, _voorVc); _value = newVal; }
public GDuration getGDurationValue() { check_dated(); return _value == null ? null : _value; }
protected void validate_simpleval(String lexical, ValidationContext ctx) { validateLexical(lexical, schemaType(), ctx); validateValue(gDurationValue(), schemaType(), ctx); } }
protected void set_GDuration(GDurationSpecification v) { if (_validateOnSet()) validateValue(v, _schemaType, _voorVc); if (v.isImmutable() && (v instanceof GDuration)) _value = (GDuration)v; else _value = new GDuration(v); }
public static GDuration validateLexical(String v, SchemaType sType, ValidationContext context) { GDuration duration = lex(v, context); if (duration != null && sType.hasPatternFacet()) if (!sType.matchPatternFacet(v)) context.invalid(XmlErrorCodes.DATATYPE_VALID$PATTERN_VALID, new Object[] { "duration", v, QNameHelper.readable(sType) }); return duration; }
public JavaGDurationHolderEx(SchemaType type, boolean complex) { _schemaType = type; initComplexType(complex, false); }
protected void set_GDuration(GDurationSpecification v) { if (_validateOnSet()) validateValue(v, _schemaType, _voorVc); if (v.isImmutable() && (v instanceof GDuration)) _value = (GDuration)v; else _value = new GDuration(v); }
public static GDuration validateLexical(String v, SchemaType sType, ValidationContext context) { GDuration duration = lex(v, context); if (duration != null && sType.hasPatternFacet()) if (!sType.matchPatternFacet(v)) context.invalid(XmlErrorCodes.DATATYPE_VALID$PATTERN_VALID, new Object[] { "duration", v, QNameHelper.readable(sType) }); return duration; }
public JavaGDurationHolderEx(SchemaType type, boolean complex) { _schemaType = type; initComplexType(complex, false); }
protected void validate_simpleval(String lexical, ValidationContext ctx) { validateLexical(lexical, schemaType(), ctx); validateValue(gDurationValue(), schemaType(), ctx); } }
protected void set_text(String s) { GDuration newVal; if (_validateOnSet()) newVal = validateLexical(s, _schemaType, _voorVc); else newVal = lex(s, _voorVc); if (_validateOnSet() && newVal != null) validateValue(newVal, _schemaType, _voorVc); _value = newVal; }
protected void set_GDuration(GDurationSpecification v) { if (_validateOnSet()) validateValue(v, _schemaType, _voorVc); if (v.isImmutable() && (v instanceof GDuration)) _value = (GDuration)v; else _value = new GDuration(v); }
public GDuration getGDurationValue() { check_dated(); return _value == null ? null : _value; }
public static GDuration validateLexical(String v, SchemaType sType, ValidationContext context) { GDuration duration = lex(v, context); if (duration != null && sType.hasPatternFacet()) if (!sType.matchPatternFacet(v)) context.invalid(XmlErrorCodes.DATATYPE_VALID$PATTERN_VALID, new Object[] { "duration", v, QNameHelper.readable(sType) }); return duration; }
public JavaGDurationHolderEx(SchemaType type, boolean complex) { _schemaType = type; initComplexType(complex, false); }
protected void validate_simpleval(String lexical, ValidationContext ctx) { validateLexical(lexical, schemaType(), ctx); validateValue(gDurationValue(), schemaType(), ctx); } }
protected void set_text(String s) { GDuration newVal; if (_validateOnSet()) newVal = validateLexical(s, _schemaType, _voorVc); else newVal = lex(s, _voorVc); if (_validateOnSet() && newVal != null) validateValue(newVal, _schemaType, _voorVc); _value = newVal; }
public GDuration getGDurationValue() { check_dated(); return _value == null ? null : _value; }