public abstract class JavaGDateHolderEx extends XmlObjectBase
XmlObject.Factory
_voorVc, KIND_SETTERHELPER_ARRAYITEM, KIND_SETTERHELPER_SINGLETON, MAJOR_VERSION_NUMBER, MINOR_VERSION_NUMBER
Constructor and Description |
---|
JavaGDateHolderEx(SchemaType type,
boolean complex) |
Modifier and Type | Method and Description |
---|---|
protected int |
compare_to(XmlObject obj)
This implementation of compare_to is allowed to do two
unusual things:
(1) it can assume that the xmlobj passed has a primitive
type underlying the instance type that matches the
current instance, and that neither is nil.
|
protected String |
compute_text(NamespaceManager nsm)
This should return the canonical string value of the primitive.
|
protected boolean |
equal_to(XmlObject obj) |
Calendar |
getCalendarValue()
Returns the value as a
Calendar . |
Date |
getDateValue()
Returns the value as a
Date . |
GDate |
getGDateValue()
Returns the value as a
GDate . |
int |
getIntValue()
Returns the value as an int.
|
static GDate |
lex(String v,
SchemaType sType,
ValidationContext context) |
SchemaType |
schemaType() |
protected void |
set_Calendar(Calendar c) |
protected void |
set_Date(Date v) |
protected void |
set_GDate(GDateSpecification v) |
protected void |
set_int(int v) |
protected void |
set_nil()
This should clear the value, and set it to whatever
is supposed to be returned when the value is nilled.
|
protected void |
set_text(String s)
This should set the value of the type from text,
or throw an XmlValueOutOfRangeException if it can't.
|
protected void |
validate_simpleval(String lexical,
ValidationContext ctx) |
static GDate |
validateLexical(String v,
SchemaType sType,
ValidationContext context) |
static void |
validateValue(GDateSpecification v,
SchemaType sType,
ValidationContext context) |
protected int |
value_hash_code() |
_copy, _copy, _isComplexContent, _isComplexType, _set, _validateOnSet, attach_store, build_nil, build_text, changeType, check_dated, check_orphaned, compareTo, compareValue, copy, copy, create_attribute_user, create_element_user, disconnect_store, documentProperties, dump, elementFlags, equals, execQuery, execQuery, generatedSetterHelperImpl, get_attribute_field, get_attribute_type, get_attributeflags, get_default_attribute_text, get_default_attribute_value, get_default_element_text, get_element_ending_delimiters, get_element_type, get_elementflags, get_schema_type, get_store, get_wscanon_rule, get_wscanon_text, getBigDecimalValue, getBigIntegerValue, getBooleanArray, getBooleanArray, getBooleanValue, getByteArray, getByteArray, getByteArrayValue, getByteValue, getDomNode, getDoubleArray, getDoubleArray, getDoubleValue, getEnumArray, getEnumArray, getEnumValue, getFloatArray, getFloatArray, getFloatValue, getGDurationValue, getIntArray, getIntArray, getListValue, getLongArray, getLongArray, getLongValue, getObjectArray, getObjectArray, getObjectValue, getQNameValue, getShortArray, getShortArray, getShortValue, getStringValue, getXmlLocale, getXmlObjectArray, getXmlObjectArray, has_store, hashCode, init_flags, initComplexType, instanceType, invalidate_element_order, invalidate_nilvalue, invalidate_value, is_child_element_order_sensitive, is_defaultable_ws, is_orphaned, isDefault, isDefaultable, isFixed, isImmutable, isInstanceOf, isNil, isNillable, java_value, monitor, new_visitor, newCursor, newCursorForce, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set_b64, set_BigDecimal, set_BigInteger, set_boolean, set_byte, set_ByteArray, set_char, set_ComplexXml, set_double, set_enum, set_float, set_GDuration, set_hex, set_list, set_long, set_newValue, set_notation, set_QName, set_short, set_String, set_xmlanysimple, set, setBigDecimalValue, setBigIntegerValue, setBooleanValue, setByteArrayValue, setByteValue, setCalendarValue, setDateValue, setDoubleValue, setEnumValue, setFloatValue, setGDateValue, setGDateValue, setGDurationValue, setGDurationValue, setImmutable, setIntValue, setListValue, setLongValue, setNil, setObjectValue, setQNameValue, setShortValue, setStringValue, setValidateOnSet, substitute, toString, update_from_complex_content, uses_invalidate_value, validate_now, validate, validate, valueEquals, valueHashCode, writeReplace, xgetArray, xgetArray, xgetListValue, xmlText, xmlText
public JavaGDateHolderEx(SchemaType type, boolean complex)
public SchemaType schemaType()
schemaType
in interface XmlObject
schemaType
in class XmlObjectBase
protected String compute_text(NamespaceManager nsm)
XmlObjectBase
compute_text
in class XmlObjectBase
protected void set_text(String s)
XmlObjectBase
set_text
in class XmlObjectBase
public static GDate lex(String v, SchemaType sType, ValidationContext context)
public static GDate validateLexical(String v, SchemaType sType, ValidationContext context)
public static void validateValue(GDateSpecification v, SchemaType sType, ValidationContext context)
protected void set_nil()
XmlObjectBase
set_nil
in class XmlObjectBase
public int getIntValue()
SimpleValue
getIntValue
in interface SimpleValue
getIntValue
in class XmlObjectBase
public GDate getGDateValue()
SimpleValue
GDate
.getGDateValue
in interface SimpleValue
getGDateValue
in class XmlObjectBase
public Calendar getCalendarValue()
SimpleValue
Calendar
.getCalendarValue
in interface SimpleValue
getCalendarValue
in class XmlObjectBase
public Date getDateValue()
SimpleValue
Date
.getDateValue
in interface SimpleValue
getDateValue
in class XmlObjectBase
protected void set_int(int v)
set_int
in class XmlObjectBase
protected void set_GDate(GDateSpecification v)
set_GDate
in class XmlObjectBase
protected void set_Calendar(Calendar c)
set_Calendar
in class XmlObjectBase
protected void set_Date(Date v)
set_Date
in class XmlObjectBase
protected int compare_to(XmlObject obj)
XmlObjectBase
compare_to
in class XmlObjectBase
protected boolean equal_to(XmlObject obj)
equal_to
in class XmlObjectBase
protected int value_hash_code()
value_hash_code
in class XmlObjectBase
protected void validate_simpleval(String lexical, ValidationContext ctx)
validate_simpleval
in class XmlObjectBase