org.apache.xmlbeans
Interface XmlTime

All Superinterfaces:
XmlAnySimpleType, XmlObject, XmlTokenSource

public interface XmlTime
extends XmlAnySimpleType

Corresponds to the XML Schema xs:time type. A gDay specifies only a day-of-month.

Convertible to Calendar or GDate.

See Also:
XmlCalendar, GDate

Nested Class Summary
static class XmlTime.Factory
          A class with methods for creating instances of XmlTime.
 
Field Summary
static SchemaType type
          The constant SchemaType object representing this schema type.
 
Fields inherited from interface org.apache.xmlbeans.XmlObject
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL
 
Method Summary
 Calendar calendarValue()
          Deprecated. replaced with getCalendarValue()
 GDate gDateValue()
          Deprecated. replaced with getGDateValue()
 Calendar getCalendarValue()
          Returns this value as a Calendar
 GDate getGDateValue()
          Returns this value as a GDate
 void set(Calendar c)
          Deprecated. replaced with setCalendarValue(java.util.Calendar)
 void set(GDateSpecification gd)
          Deprecated. replaced with setGDateValue(org.apache.xmlbeans.GDate)
 void setCalendarValue(Calendar c)
          Sets this value as a Calendar
 void setGDateValue(GDate gd)
          Sets this value as a GDateSpecification
 
Methods inherited from interface org.apache.xmlbeans.XmlAnySimpleType
getStringValue, set, setStringValue, stringValue
 
Methods inherited from interface org.apache.xmlbeans.XmlObject
changeType, compareTo, compareValue, copy, execQuery, execQuery, isImmutable, isNil, schemaType, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, setNil, substitute, toString, validate, validate, valueEquals, valueHashCode
 
Methods inherited from interface org.apache.xmlbeans.XmlTokenSource
documentProperties, dump, getDomNode, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, xmlText, xmlText
 

Field Detail

type

public static final SchemaType type
The constant SchemaType object representing this schema type.

Method Detail

getCalendarValue

public Calendar getCalendarValue()
Returns this value as a Calendar


setCalendarValue

public void setCalendarValue(Calendar c)
Sets this value as a Calendar


getGDateValue

public GDate getGDateValue()
Returns this value as a GDate


setGDateValue

public void setGDateValue(GDate gd)
Sets this value as a GDateSpecification


calendarValue

public Calendar calendarValue()
Deprecated. replaced with getCalendarValue()

Returns this value as a Calendar


set

public void set(Calendar c)
Deprecated. replaced with setCalendarValue(java.util.Calendar)

Sets this value as a Calendar


gDateValue

public GDate gDateValue()
Deprecated. replaced with getGDateValue()

Returns this value as a GDate


set

public void set(GDateSpecification gd)
Deprecated. replaced with setGDateValue(org.apache.xmlbeans.GDate)

Sets this value as a GDateSpecification