RingJavafor Ring

javax.xml.datatype

6 classes of the module java.xml.

Load them with:

using {
	"javax.xml.datatype"
}

All packages

DatatypeConfigurationException#

class · extends Exception · javax.xml.datatype.DatatypeConfigurationException

Constructors

new DatatypeConfigurationException()
new DatatypeConfigurationException(Throwable cause)
new DatatypeConfigurationException(String message)
new DatatypeConfigurationException(String message, Throwable cause)

Ring: new DatatypeConfigurationException(args) uses the constructor with the fewest parameters (at least one); new DatatypeConfigurationException makes the object with the constructor without parameters; the others: (new DatatypeConfigurationException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of Exception are inherited.

DatatypeConstants#

class final · extends Object · javax.xml.datatype.DatatypeConstants

Fields

NameTypeAccessIn Ring
JANUARYintconstant · statico.JANUARY
FEBRUARYintconstant · statico.FEBRUARY
MARCHintconstant · statico.MARCH
APRILintconstant · statico.APRIL
MAYintconstant · statico.MAY
JUNEintconstant · statico.JUNE
JULYintconstant · statico.JULY
AUGUSTintconstant · statico.AUGUST
SEPTEMBERintconstant · statico.SEPTEMBER
OCTOBERintconstant · statico.OCTOBER
NOVEMBERintconstant · statico.NOVEMBER
DECEMBERintconstant · statico.DECEMBER
LESSERintconstant · statico.LESSER
EQUALintconstant · statico.EQUAL
GREATERintconstant · statico.GREATER
INDETERMINATEintconstant · statico.INDETERMINATE
FIELD_UNDEFINEDintconstant · statico.FIELD_UNDEFINED
YEARSFieldconstant · statico.YEARS
MONTHSFieldconstant · statico.MONTHS
DAYSFieldconstant · statico.DAYS
HOURSFieldconstant · statico.HOURS
MINUTESFieldconstant · statico.MINUTES
SECONDSFieldconstant · statico.SECONDS
DATETIMEQNameconstant · statico.DATETIME
TIMEQNameconstant · statico.TIME
DATEQNameconstant · statico.DATE
GYEARMONTHQNameconstant · statico.GYEARMONTH
GMONTHDAYQNameconstant · statico.GMONTHDAY
GYEARQNameconstant · statico.GYEAR
GMONTHQNameconstant · statico.GMONTH
GDAYQNameconstant · statico.GDAY
DURATIONQNameconstant · statico.DURATION
DURATION_DAYTIMEQNameconstant · statico.DURATION_DAYTIME
DURATION_YEARMONTHQNameconstant · statico.DURATION_YEARMONTH
MAX_TIMEZONE_OFFSETintconstant · statico.MAX_TIMEZONE_OFFSET
MIN_TIMEZONE_OFFSETintconstant · statico.MIN_TIMEZONE_OFFSET

The methods and fields of Object are inherited.

DatatypeConstantsField#

class final · extends Object · javax.xml.datatype.DatatypeConstants$Field

Methods

MethodRing callJava overloads
getIdgetId()int getId()

The methods and fields of Object are inherited.

DatatypeDuration#

abstract · extends Object · javax.xml.datatype.Duration

Methods

MethodRing callJava overloads
@getField@getField(field)Number getField(Field field)
addadd(rhs)Duration add(Duration rhs)
addToaddTo(date)void addTo(Date date)
void addTo(Calendar calendar)
comparecompare(duration)int compare(Duration duration)
getDaysgetDays()int getDays()
getHoursgetHours()int getHours()
getMinutesgetMinutes()int getMinutes()
getMonthsgetMonths()int getMonths()
getSecondsgetSeconds()int getSeconds()
getSigngetSign()int getSign()
getTimeInMillisgetTimeInMillis(startInstant)long getTimeInMillis(Date startInstant)
long getTimeInMillis(Calendar startInstant)
getXMLSchemaTypegetXMLSchemaType()QName getXMLSchemaType()
getYearsgetYears()int getYears()
isLongerThanisLongerThan(duration)boolean isLongerThan(Duration duration)
isSetisSet(field)boolean isSet(Field field)
isShorterThanisShorterThan(duration)boolean isShorterThan(Duration duration)
multiplymultiply(factor)Duration multiply(BigDecimal factor)
Duration multiply(int factor)
negatenegate()Duration negate()
normalizeWithnormalizeWith(startTimeInstant)Duration normalizeWith(Calendar startTimeInstant)
subtractsubtract(rhs)Duration subtract(Duration rhs)

The methods and fields of Object are inherited.

DatatypeFactory#

abstract · extends Object · javax.xml.datatype.DatatypeFactory

Fields

NameTypeAccessIn Ring
DATATYPEFACTORY_PROPERTYStringconstant · statico.DATATYPEFACTORY_PROPERTY
DATATYPEFACTORY_IMPLEMENTATION_CLASSStringconstant · statico.DATATYPEFACTORY_IMPLEMENTATION_CLASS

Methods

MethodRing callJava overloads
@newInstance@newInstance([factoryClassName,classLoader])
@newInstance([ :factoryClassName = v, :classLoader = v ])
static DatatypeFactory newInstance(String factoryClassName, ClassLoader classLoader)
@newXMLGregorianCalendar@newXMLGregorianCalendar(cal)
@newXMLGregorianCalendar([year,month,day,hour,minute,second,fractionalSecond,timezone])
@newXMLGregorianCalendar([ :year = v, :month = v, :day = v, :hour = v, :minute = v, :second = v, :fractionalSecond = v, :timezone = v ])
XMLGregorianCalendar newXMLGregorianCalendar(GregorianCalendar cal)
XMLGregorianCalendar newXMLGregorianCalendar(String lexicalRepresentation)
XMLGregorianCalendar newXMLGregorianCalendar(BigInteger year, int month, int day, int hour, int minute, int second, BigDecimal fractionalSecond, int timezone)
XMLGregorianCalendar newXMLGregorianCalendar(int year, int month, int day, int hour, int minute, int second, int millisecond, int timezone)
newDefaultInstancenewDefaultInstance()static DatatypeFactory newDefaultInstance()
newDurationnewDuration(durationInMilliSeconds)
newDuration([isPositive,years,months,days,hours,minutes,seconds])
newDuration([ :isPositive = v, :years = v, :months = v, :days = v, :hours = v, :minutes = v, :seconds = v ])
Duration newDuration(long durationInMilliSeconds)
Duration newDuration(String lexicalRepresentation)
Duration newDuration(boolean isPositive, BigInteger years, BigInteger months, BigInteger days, BigInteger hours, BigInteger minutes, BigDecimal seconds)
Duration newDuration(boolean isPositive, int years, int months, int days, int hours, int minutes, int seconds)
newDurationDayTimenewDurationDayTime(durationInMilliseconds)
newDurationDayTime([isPositive,day,hour,minute,second])
newDurationDayTime([ :isPositive = v, :day = v, :hour = v, :minute = v, :second = v ])
Duration newDurationDayTime(long durationInMilliseconds)
Duration newDurationDayTime(String lexicalRepresentation)
Duration newDurationDayTime(boolean isPositive, BigInteger day, BigInteger hour, BigInteger minute, BigInteger second)
Duration newDurationDayTime(boolean isPositive, int day, int hour, int minute, int second)
newDurationYearMonthnewDurationYearMonth(durationInMilliseconds)
newDurationYearMonth([isPositive,year,month])
newDurationYearMonth([ :isPositive = v, :year = v, :month = v ])
Duration newDurationYearMonth(long durationInMilliseconds)
Duration newDurationYearMonth(String lexicalRepresentation)
Duration newDurationYearMonth(boolean isPositive, int year, int month)
Duration newDurationYearMonth(boolean isPositive, BigInteger year, BigInteger month)
newInstancenewInstance()static DatatypeFactory newInstance()
newXMLGregorianCalendarnewXMLGregorianCalendar()XMLGregorianCalendar newXMLGregorianCalendar()
newXMLGregorianCalendarDatenewXMLGregorianCalendarDate(year,month,day,timezone)XMLGregorianCalendar newXMLGregorianCalendarDate(int year, int month, int day, int timezone)
newXMLGregorianCalendarTimenewXMLGregorianCalendarTime([hours,minutes,seconds,timezone])
newXMLGregorianCalendarTime([ :hours = v, :minutes = v, :seconds = v, :timezone = v ])
newXMLGregorianCalendarTime([hours,minutes,seconds,fractionalSecond,timezone])
newXMLGregorianCalendarTime([ :hours = v, :minutes = v, :seconds = v, :fractionalSecond = v, :timezone = v ])
XMLGregorianCalendar newXMLGregorianCalendarTime(int hours, int minutes, int seconds, int timezone)
XMLGregorianCalendar newXMLGregorianCalendarTime(int hours, int minutes, int seconds, BigDecimal fractionalSecond, int timezone)
XMLGregorianCalendar newXMLGregorianCalendarTime(int hours, int minutes, int seconds, int milliseconds, int timezone)

The methods and fields of Object are inherited.

XMLGregorianCalendar#

abstract · extends Object · javax.xml.datatype.XMLGregorianCalendar

Implements: Cloneable

Methods

MethodRing callJava overloads
@getTimezone@getTimezone(defaultZoneoffset)TimeZone getTimeZone(int defaultZoneoffset)
@toGregorianCalendar@toGregorianCalendar([timezone,aLocale,defaults])
@toGregorianCalendar([ :timezone = v, :aLocale = v, :defaults = v ])
GregorianCalendar toGregorianCalendar(TimeZone timezone, Locale aLocale, XMLGregorianCalendar defaults)
addadd(duration)void add(Duration duration)
clearclear()void clear()
cloneclone()Object clone()
comparecompare(xmlGregorianCalendar)int compare(XMLGregorianCalendar xmlGregorianCalendar)
getDaygetDay()int getDay()
getEongetEon()BigInteger getEon()
getEonAndYeargetEonAndYear()BigInteger getEonAndYear()
getFractionalSecondgetFractionalSecond()BigDecimal getFractionalSecond()
getHourgetHour()int getHour()
getMillisecondgetMillisecond()int getMillisecond()
getMinutegetMinute()int getMinute()
getMonthgetMonth()int getMonth()
getSecondgetSecond()int getSecond()
getTimezonegetTimezone()int getTimezone()
getXMLSchemaTypegetXMLSchemaType()QName getXMLSchemaType()
getYeargetYear()int getYear()
isValidisValid()boolean isValid()
normalizenormalize()XMLGregorianCalendar normalize()
resetreset()void reset()
setDaysetDay(day)void setDay(int day)
setFractionalSecondsetFractionalSecond(fractional)void setFractionalSecond(BigDecimal fractional)
setHoursetHour(hour)void setHour(int hour)
setMillisecondsetMillisecond(millisecond)void setMillisecond(int millisecond)
setMinutesetMinute(minute)void setMinute(int minute)
setMonthsetMonth(month)void setMonth(int month)
setSecondsetSecond(second)void setSecond(int second)
setTimesetTime([hour,minute,second])
setTime([ :hour = v, :minute = v, :second = v ])
setTime([hour,minute,second,fractional])
setTime([ :hour = v, :minute = v, :second = v, :fractional = v ])
void setTime(int hour, int minute, int second)
void setTime(int hour, int minute, int second, BigDecimal fractional)
void setTime(int hour, int minute, int second, int millisecond)
setTimezonesetTimezone(offset)void setTimezone(int offset)
setYearsetYear(year)void setYear(BigInteger year)
void setYear(int year)
toGregorianCalendartoGregorianCalendar()GregorianCalendar toGregorianCalendar()
toXMLFormattoXMLFormat()String toXMLFormat()

The methods and fields of Object are inherited.

RingJava - use Java classes and methods from Ring programs.