Package org.apache.xmlbeans.impl.values
Class JavaGDateHolderEx
- java.lang.Object
-
- org.apache.xmlbeans.impl.values.XmlObjectBase
-
- org.apache.xmlbeans.impl.values.JavaGDateHolderEx
-
- All Implemented Interfaces:
Serializable
,TypeStoreUser
,SimpleValue
,XmlObject
,XmlTokenSource
- Direct Known Subclasses:
XmlDateImpl
,XmlDateTimeImpl
,XmlGDayImpl
,XmlGMonthDayImpl
,XmlGMonthImpl
,XmlGYearImpl
,XmlGYearMonthImpl
,XmlTimeImpl
public abstract class JavaGDateHolderEx extends XmlObjectBase
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.xmlbeans.XmlObject
XmlObject.Factory
-
-
Field Summary
-
Fields inherited from class org.apache.xmlbeans.impl.values.XmlObjectBase
_voorVc, KIND_SETTERHELPER_ARRAYITEM, KIND_SETTERHELPER_SINGLETON, MAJOR_VERSION_NUMBER, MINOR_VERSION_NUMBER
-
-
Constructor Summary
Constructors Constructor Description JavaGDateHolderEx(SchemaType type, boolean complex)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Calendar
getCalendarValue()
Returns the value as aCalendar
.Date
getDateValue()
Returns the value as aDate
.GDate
getGDateValue()
Returns the value as aGDate
.int
getIntValue()
Returns the value as an int.static GDate
lex(String v, SchemaType sType, ValidationContext context)
SchemaType
schemaType()
static GDate
validateLexical(String v, SchemaType sType, ValidationContext context)
static void
validateValue(GDateSpecification v, SchemaType sType, ValidationContext context)
-
Methods inherited from class org.apache.xmlbeans.impl.values.XmlObjectBase
_copy, _copy, _set, attach_store, bigDecimalValue, bigIntegerValue, booleanValue, build_nil, build_text, byteArrayValue, byteValue, calendarValue, changeType, check_dated, compareTo, compareValue, copy, copy, create_attribute_user, create_element_user, dateValue, disconnect_store, documentProperties, doubleValue, dump, enumValue, equals, execQuery, execQuery, floatValue, gDateValue, gDurationValue, generatedSetterHelperImpl, get_attribute_field, get_attribute_type, get_attributeflags, get_default_attribute_text, get_default_element_text, get_element_ending_delimiters, get_element_type, get_elementflags, get_schema_type, get_store, get_wscanon_text, getBigDecimalValue, getBigIntegerValue, getBooleanValue, getByteArrayValue, getByteValue, getDomNode, getDoubleValue, getEnumValue, getFloatValue, getGDurationValue, getListValue, getLongValue, getObjectValue, getQNameValue, getShortValue, getStringValue, getXmlLocale, hashCode, init_flags, instanceType, intValue, invalidate_element_order, invalidate_nilvalue, invalidate_value, is_child_element_order_sensitive, isDefault, isDefaultable, isFixed, isImmutable, isInstanceOf, isNil, isNillable, listValue, longValue, monitor, new_visitor, newCursor, newCursorForce, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, newXMLStreamReader, newXMLStreamReader, objectSet, objectValue, qNameValue, save, save, save, save, save, save, save, save, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set_newValue, setBigDecimalValue, setBigIntegerValue, setBooleanValue, setByteArrayValue, setByteValue, setCalendarValue, setDateValue, setDoubleValue, setEnumValue, setFloatValue, setGDateValue, setGDateValue, setGDurationValue, setGDurationValue, setImmutable, setIntValue, setListValue, setLongValue, setNil, setObjectValue, setQNameValue, setShortValue, setStringValue, setValidateOnSet, shortValue, stringValue, substitute, toString, uses_invalidate_value, validate, validate, validate_now, valueEquals, valueHashCode, writeReplace, xgetListValue, xlistValue, xmlText, xmlText
-
-
-
-
Constructor Detail
-
JavaGDateHolderEx
public JavaGDateHolderEx(SchemaType type, boolean complex)
-
-
Method Detail
-
schemaType
public SchemaType schemaType()
- Specified by:
schemaType
in interfaceXmlObject
- Specified by:
schemaType
in classXmlObjectBase
- Returns:
- The schema type for this instance. This is a permanent, unchanging property of the instance.
-
lex
public static GDate lex(String v, SchemaType sType, ValidationContext context)
-
validateLexical
public static GDate validateLexical(String v, SchemaType sType, ValidationContext context)
-
validateValue
public static void validateValue(GDateSpecification v, SchemaType sType, ValidationContext context)
-
getIntValue
public int getIntValue()
Description copied from interface:SimpleValue
Returns the value as an int.- Specified by:
getIntValue
in interfaceSimpleValue
- Overrides:
getIntValue
in classXmlObjectBase
-
getGDateValue
public GDate getGDateValue()
Description copied from interface:SimpleValue
Returns the value as aGDate
.- Specified by:
getGDateValue
in interfaceSimpleValue
- Overrides:
getGDateValue
in classXmlObjectBase
-
getCalendarValue
public Calendar getCalendarValue()
Description copied from interface:SimpleValue
Returns the value as aCalendar
.- Specified by:
getCalendarValue
in interfaceSimpleValue
- Overrides:
getCalendarValue
in classXmlObjectBase
-
getDateValue
public Date getDateValue()
Description copied from interface:SimpleValue
Returns the value as aDate
.- Specified by:
getDateValue
in interfaceSimpleValue
- Overrides:
getDateValue
in classXmlObjectBase
-
-