XmlDate Interface

com.bea.xml
XmlDate Interface

public interface XmlDate

    extends XmlAnySimpleType

Corresponds to the XML Schema xs:date type.

Convertible to Calendar, Date, and GDate.

Related Topics

XmlCalendar
GDate


All Superinterfaces
XmlAnySimpleType, XmlObject, XmlTokenSource

Nested Class Summary

public static final classXmlDate.Factory
           A class with methods for creating instances of XmlDate.
 
Nested classes from interface com.bea.xml.XmlAnySimpleType
XmlAnySimpleType.Factory
 
Nested classes from interface com.bea.xml.XmlObject
XmlObject.Factory
 

Field Summary

public static final SchemaType
type
The constant SchemaType object representing this schema type.
   
Fields from interface com.bea.xml.XmlAnySimpleType
type
 
Fields from interface com.bea.xml.XmlObject
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL, type
 

Method Summary

public Calendar
calendarValue()
Returns this value as a Calendar
public Date
dateValue()
Returns this value as a Date
public GDate
gDateValue()
Returns this value as a GDate
public Calendar
getCalendarValue()
Returns this value as a Calendar
public Date
getDateValue()
Returns this value as a Date
public GDate
getGDateValue()
Returns this value as a GDate
public void
set(Calendar c)
Sets this value as a Calendar
public void
set(GDateSpecification gd)
Sets this value as a GDateSpecification
public void
set(Date d)
Sets this value as a Date
public void
setCalendarValue(Calendar c)
Sets this value as a Calendar
public void
setDateValue(Date d)
Sets this value as a Date
public void
setGDateValue(GDate gd)
Sets this value as a GDateSpecification
 
Methods from interface com.bea.xml.XmlAnySimpleType
getStringValue, set, setStringValue, stringValue
 
Methods from interface com.bea.xml.XmlObject
changeType, compareTo, compareValue, copy, execQuery, execQuery, isImmutable, isNil, schemaType, selectPath, selectPath, set, setNil, toString, validate, validate, valueEquals, valueHashCode
 
Methods from interface com.bea.xml.XmlTokenSource
documentProperties, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, 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

calendarValue() Method

DEPRECATED replaced with com.bea.xml.XmlDate.getCalendarValue()

public Calendar calendarValue()
Returns this value as a Calendar


dateValue() Method

DEPRECATED replaced with com.bea.xml.XmlDate.getDateValue()

public Date dateValue()
Returns this value as a Date


gDateValue() Method

DEPRECATED replaced with com.bea.xml.XmlDate.getGDateValue()

public GDate gDateValue()
Returns this value as a GDate


getCalendarValue() Method

public Calendar getCalendarValue()
Returns this value as a Calendar


getDateValue() Method

public Date getDateValue()
Returns this value as a Date


getGDateValue() Method

public GDate getGDateValue()
Returns this value as a GDate


set(Calendar) Method

DEPRECATED replaced with com.bea.xml.XmlDate.setCalendarValue(java.util.Calendar)

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


set(GDateSpecification) Method

DEPRECATED replaced with com.bea.xml.XmlDate.setGDateValue(com.bea.xml.GDate)

public void set(GDateSpecification gd)
Sets this value as a GDateSpecification


set(Date) Method

DEPRECATED replaced with com.bea.xml.XmlDate.setDateValue(java.util.Date)

public void set(Date d)
Sets this value as a Date


setCalendarValue(Calendar) Method

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


setDateValue(Date) Method

public void setDateValue(Date d)
Sets this value as a Date


setGDateValue(GDate) Method

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