|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.xmlbeans.impl.values.XmlObjectBase
org.apache.xmlbeans.impl.values.JavaGDateHolderEx
public abstract class JavaGDateHolderEx
| 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 |
| Fields inherited from interface org.apache.xmlbeans.XmlObject |
|---|
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL, type |
| Constructor Summary | |
|---|---|
JavaGDateHolderEx(SchemaType type,
boolean complex)
|
|
| Method Summary | |
|---|---|
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 java.lang.String |
compute_text(NamespaceManager nsm)
This should return the canonical string value of the primitive. |
protected boolean |
equal_to(XmlObject obj)
|
java.util.Calendar |
getCalendarValue()
Returns the value as a Calendar. |
java.util.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(java.lang.String v,
SchemaType sType,
ValidationContext context)
|
SchemaType |
schemaType()
|
protected void |
set_Calendar(java.util.Calendar c)
|
protected void |
set_Date(java.util.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(java.lang.String s)
This should set the value of the type from text, or throw an XmlValueOutOfRangeException if it can't. |
protected void |
validate_simpleval(java.lang.String lexical,
ValidationContext ctx)
|
static GDate |
validateLexical(java.lang.String v,
SchemaType sType,
ValidationContext context)
|
static void |
validateValue(GDateSpecification v,
SchemaType sType,
ValidationContext context)
|
protected int |
value_hash_code()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JavaGDateHolderEx(SchemaType type,
boolean complex)
| Method Detail |
|---|
public SchemaType schemaType()
schemaType in interface XmlObjectschemaType in class XmlObjectBaseprotected java.lang.String compute_text(NamespaceManager nsm)
XmlObjectBase
compute_text in class XmlObjectBaseprotected void set_text(java.lang.String s)
XmlObjectBase
set_text in class XmlObjectBase
public static GDate lex(java.lang.String v,
SchemaType sType,
ValidationContext context)
public static GDate validateLexical(java.lang.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 XmlObjectBasepublic int getIntValue()
SimpleValue
getIntValue in interface SimpleValuegetIntValue in class XmlObjectBasepublic GDate getGDateValue()
SimpleValueGDate.
getGDateValue in interface SimpleValuegetGDateValue in class XmlObjectBasepublic java.util.Calendar getCalendarValue()
SimpleValueCalendar.
getCalendarValue in interface SimpleValuegetCalendarValue in class XmlObjectBasepublic java.util.Date getDateValue()
SimpleValueDate.
getDateValue in interface SimpleValuegetDateValue in class XmlObjectBaseprotected void set_int(int v)
set_int in class XmlObjectBaseprotected void set_GDate(GDateSpecification v)
set_GDate in class XmlObjectBaseprotected void set_Calendar(java.util.Calendar c)
set_Calendar in class XmlObjectBaseprotected void set_Date(java.util.Date v)
set_Date in class XmlObjectBaseprotected int compare_to(XmlObject obj)
XmlObjectBase
compare_to in class XmlObjectBaseprotected boolean equal_to(XmlObject obj)
equal_to in class XmlObjectBaseprotected int value_hash_code()
value_hash_code in class XmlObjectBase
protected void validate_simpleval(java.lang.String lexical,
ValidationContext ctx)
validate_simpleval in class XmlObjectBase
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||