__redirected
Class __DatatypeFactory
java.lang.Object
javax.xml.datatype.DatatypeFactory
__redirected.__DatatypeFactory
public final class __DatatypeFactory
- extends DatatypeFactory
A redirecting DatatypeFactory
- Author:
- Jason T. Greene
Method Summary |
static void |
changeDefaultFactory(ModuleIdentifier id,
ModuleLoader loader)
|
static void |
init()
Init method. |
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)
|
Duration |
newDuration(long durationInMilliSeconds)
|
Duration |
newDuration(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)
|
Duration |
newDurationDayTime(long durationInMilliseconds)
|
Duration |
newDurationDayTime(String lexicalRepresentation)
|
Duration |
newDurationYearMonth(boolean isPositive,
BigInteger year,
BigInteger month)
|
Duration |
newDurationYearMonth(boolean isPositive,
int year,
int month)
|
Duration |
newDurationYearMonth(long durationInMilliseconds)
|
Duration |
newDurationYearMonth(String lexicalRepresentation)
|
XMLGregorianCalendar |
newXMLGregorianCalendar()
|
XMLGregorianCalendar |
newXMLGregorianCalendar(BigInteger year,
int month,
int day,
int hour,
int minute,
int second,
BigDecimal fractionalSecond,
int timezone)
|
XMLGregorianCalendar |
newXMLGregorianCalendar(GregorianCalendar cal)
|
XMLGregorianCalendar |
newXMLGregorianCalendar(int year,
int month,
int day,
int hour,
int minute,
int second,
int millisecond,
int timezone)
|
XMLGregorianCalendar |
newXMLGregorianCalendar(String lexicalRepresentation)
|
XMLGregorianCalendar |
newXMLGregorianCalendarDate(int year,
int month,
int day,
int timezone)
|
XMLGregorianCalendar |
newXMLGregorianCalendarTime(int hours,
int minutes,
int seconds,
BigDecimal fractionalSecond,
int timezone)
|
XMLGregorianCalendar |
newXMLGregorianCalendarTime(int hours,
int minutes,
int seconds,
int timezone)
|
XMLGregorianCalendar |
newXMLGregorianCalendarTime(int hours,
int minutes,
int seconds,
int milliseconds,
int timezone)
|
static void |
restorePlatformFactory()
|
String |
toString()
|
__DatatypeFactory
public __DatatypeFactory()
- Construct a new instance.
changeDefaultFactory
public static void changeDefaultFactory(ModuleIdentifier id,
ModuleLoader loader)
restorePlatformFactory
public static void restorePlatformFactory()
init
public static void init()
- Init method.
newDuration
public Duration newDuration(String lexicalRepresentation)
- Specified by:
newDuration
in class DatatypeFactory
toString
public String toString()
- Overrides:
toString
in class Object
newDuration
public Duration newDuration(long durationInMilliSeconds)
- Specified by:
newDuration
in class DatatypeFactory
newDuration
public Duration newDuration(boolean isPositive,
BigInteger years,
BigInteger months,
BigInteger days,
BigInteger hours,
BigInteger minutes,
BigDecimal seconds)
- Specified by:
newDuration
in class DatatypeFactory
newDuration
public Duration newDuration(boolean isPositive,
int years,
int months,
int days,
int hours,
int minutes,
int seconds)
- Overrides:
newDuration
in class DatatypeFactory
newDurationDayTime
public Duration newDurationDayTime(String lexicalRepresentation)
- Overrides:
newDurationDayTime
in class DatatypeFactory
newDurationDayTime
public Duration newDurationDayTime(long durationInMilliseconds)
- Overrides:
newDurationDayTime
in class DatatypeFactory
newDurationDayTime
public Duration newDurationDayTime(boolean isPositive,
BigInteger day,
BigInteger hour,
BigInteger minute,
BigInteger second)
- Overrides:
newDurationDayTime
in class DatatypeFactory
newDurationDayTime
public Duration newDurationDayTime(boolean isPositive,
int day,
int hour,
int minute,
int second)
- Overrides:
newDurationDayTime
in class DatatypeFactory
newDurationYearMonth
public Duration newDurationYearMonth(String lexicalRepresentation)
- Overrides:
newDurationYearMonth
in class DatatypeFactory
newDurationYearMonth
public Duration newDurationYearMonth(long durationInMilliseconds)
- Overrides:
newDurationYearMonth
in class DatatypeFactory
newDurationYearMonth
public Duration newDurationYearMonth(boolean isPositive,
BigInteger year,
BigInteger month)
- Overrides:
newDurationYearMonth
in class DatatypeFactory
newDurationYearMonth
public Duration newDurationYearMonth(boolean isPositive,
int year,
int month)
- Overrides:
newDurationYearMonth
in class DatatypeFactory
newXMLGregorianCalendar
public XMLGregorianCalendar newXMLGregorianCalendar()
- Specified by:
newXMLGregorianCalendar
in class DatatypeFactory
newXMLGregorianCalendar
public XMLGregorianCalendar newXMLGregorianCalendar(String lexicalRepresentation)
- Specified by:
newXMLGregorianCalendar
in class DatatypeFactory
newXMLGregorianCalendar
public XMLGregorianCalendar newXMLGregorianCalendar(GregorianCalendar cal)
- Specified by:
newXMLGregorianCalendar
in class DatatypeFactory
newXMLGregorianCalendar
public XMLGregorianCalendar newXMLGregorianCalendar(BigInteger year,
int month,
int day,
int hour,
int minute,
int second,
BigDecimal fractionalSecond,
int timezone)
- Specified by:
newXMLGregorianCalendar
in class DatatypeFactory
newXMLGregorianCalendar
public XMLGregorianCalendar newXMLGregorianCalendar(int year,
int month,
int day,
int hour,
int minute,
int second,
int millisecond,
int timezone)
- Overrides:
newXMLGregorianCalendar
in class DatatypeFactory
newXMLGregorianCalendarDate
public XMLGregorianCalendar newXMLGregorianCalendarDate(int year,
int month,
int day,
int timezone)
- Overrides:
newXMLGregorianCalendarDate
in class DatatypeFactory
newXMLGregorianCalendarTime
public XMLGregorianCalendar newXMLGregorianCalendarTime(int hours,
int minutes,
int seconds,
int timezone)
- Overrides:
newXMLGregorianCalendarTime
in class DatatypeFactory
newXMLGregorianCalendarTime
public XMLGregorianCalendar newXMLGregorianCalendarTime(int hours,
int minutes,
int seconds,
BigDecimal fractionalSecond,
int timezone)
- Overrides:
newXMLGregorianCalendarTime
in class DatatypeFactory
newXMLGregorianCalendarTime
public XMLGregorianCalendar newXMLGregorianCalendarTime(int hours,
int minutes,
int seconds,
int milliseconds,
int timezone)
- Overrides:
newXMLGregorianCalendarTime
in class DatatypeFactory
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.