Package __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
-
-
Field Summary
-
Fields inherited from class javax.xml.datatype.DatatypeFactory
DATATYPEFACTORY_IMPLEMENTATION_CLASS, DATATYPEFACTORY_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description __DatatypeFactory()
Construct a new instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
changeDefaultFactory(ModuleIdentifier id, ModuleLoader loader)
static void
init()
Init method.Duration
newDuration(boolean isPositive, int years, int months, int days, int hours, int minutes, int seconds)
Duration
newDuration(boolean isPositive, BigInteger years, BigInteger months, BigInteger days, BigInteger hours, BigInteger minutes, BigDecimal seconds)
Duration
newDuration(long durationInMilliSeconds)
Duration
newDuration(String lexicalRepresentation)
Duration
newDurationDayTime(boolean isPositive, int day, int hour, int minute, int second)
Duration
newDurationDayTime(boolean isPositive, BigInteger day, BigInteger hour, BigInteger minute, BigInteger second)
Duration
newDurationDayTime(long durationInMilliseconds)
Duration
newDurationDayTime(String lexicalRepresentation)
Duration
newDurationYearMonth(boolean isPositive, int year, int month)
Duration
newDurationYearMonth(boolean isPositive, BigInteger year, BigInteger month)
Duration
newDurationYearMonth(long durationInMilliseconds)
Duration
newDurationYearMonth(String lexicalRepresentation)
XMLGregorianCalendar
newXMLGregorianCalendar()
XMLGregorianCalendar
newXMLGregorianCalendar(int year, int month, int day, int hour, int minute, int second, int millisecond, int timezone)
XMLGregorianCalendar
newXMLGregorianCalendar(String lexicalRepresentation)
XMLGregorianCalendar
newXMLGregorianCalendar(BigInteger year, int month, int day, int hour, int minute, int second, BigDecimal fractionalSecond, int timezone)
XMLGregorianCalendar
newXMLGregorianCalendar(GregorianCalendar cal)
XMLGregorianCalendar
newXMLGregorianCalendarDate(int year, int month, int day, int timezone)
XMLGregorianCalendar
newXMLGregorianCalendarTime(int hours, int minutes, int seconds, int timezone)
XMLGregorianCalendar
newXMLGregorianCalendarTime(int hours, int minutes, int seconds, int milliseconds, int timezone)
XMLGregorianCalendar
newXMLGregorianCalendarTime(int hours, int minutes, int seconds, BigDecimal fractionalSecond, int timezone)
static void
restorePlatformFactory()
String
toString()
-
Methods inherited from class javax.xml.datatype.DatatypeFactory
newDefaultInstance, newInstance, newInstance
-
-
-
-
Method Detail
-
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 classDatatypeFactory
-
newDuration
public Duration newDuration(long durationInMilliSeconds)
- Specified by:
newDuration
in classDatatypeFactory
-
newDuration
public Duration newDuration(boolean isPositive, BigInteger years, BigInteger months, BigInteger days, BigInteger hours, BigInteger minutes, BigDecimal seconds)
- Specified by:
newDuration
in classDatatypeFactory
-
newDuration
public Duration newDuration(boolean isPositive, int years, int months, int days, int hours, int minutes, int seconds)
- Overrides:
newDuration
in classDatatypeFactory
-
newDurationDayTime
public Duration newDurationDayTime(String lexicalRepresentation)
- Overrides:
newDurationDayTime
in classDatatypeFactory
-
newDurationDayTime
public Duration newDurationDayTime(long durationInMilliseconds)
- Overrides:
newDurationDayTime
in classDatatypeFactory
-
newDurationDayTime
public Duration newDurationDayTime(boolean isPositive, BigInteger day, BigInteger hour, BigInteger minute, BigInteger second)
- Overrides:
newDurationDayTime
in classDatatypeFactory
-
newDurationDayTime
public Duration newDurationDayTime(boolean isPositive, int day, int hour, int minute, int second)
- Overrides:
newDurationDayTime
in classDatatypeFactory
-
newDurationYearMonth
public Duration newDurationYearMonth(String lexicalRepresentation)
- Overrides:
newDurationYearMonth
in classDatatypeFactory
-
newDurationYearMonth
public Duration newDurationYearMonth(long durationInMilliseconds)
- Overrides:
newDurationYearMonth
in classDatatypeFactory
-
newDurationYearMonth
public Duration newDurationYearMonth(boolean isPositive, BigInteger year, BigInteger month)
- Overrides:
newDurationYearMonth
in classDatatypeFactory
-
newDurationYearMonth
public Duration newDurationYearMonth(boolean isPositive, int year, int month)
- Overrides:
newDurationYearMonth
in classDatatypeFactory
-
newXMLGregorianCalendar
public XMLGregorianCalendar newXMLGregorianCalendar()
- Specified by:
newXMLGregorianCalendar
in classDatatypeFactory
-
newXMLGregorianCalendar
public XMLGregorianCalendar newXMLGregorianCalendar(String lexicalRepresentation)
- Specified by:
newXMLGregorianCalendar
in classDatatypeFactory
-
newXMLGregorianCalendar
public XMLGregorianCalendar newXMLGregorianCalendar(GregorianCalendar cal)
- Specified by:
newXMLGregorianCalendar
in classDatatypeFactory
-
newXMLGregorianCalendar
public XMLGregorianCalendar newXMLGregorianCalendar(BigInteger year, int month, int day, int hour, int minute, int second, BigDecimal fractionalSecond, int timezone)
- Specified by:
newXMLGregorianCalendar
in classDatatypeFactory
-
newXMLGregorianCalendar
public XMLGregorianCalendar newXMLGregorianCalendar(int year, int month, int day, int hour, int minute, int second, int millisecond, int timezone)
- Overrides:
newXMLGregorianCalendar
in classDatatypeFactory
-
newXMLGregorianCalendarDate
public XMLGregorianCalendar newXMLGregorianCalendarDate(int year, int month, int day, int timezone)
- Overrides:
newXMLGregorianCalendarDate
in classDatatypeFactory
-
newXMLGregorianCalendarTime
public XMLGregorianCalendar newXMLGregorianCalendarTime(int hours, int minutes, int seconds, int timezone)
- Overrides:
newXMLGregorianCalendarTime
in classDatatypeFactory
-
newXMLGregorianCalendarTime
public XMLGregorianCalendar newXMLGregorianCalendarTime(int hours, int minutes, int seconds, BigDecimal fractionalSecond, int timezone)
- Overrides:
newXMLGregorianCalendarTime
in classDatatypeFactory
-
newXMLGregorianCalendarTime
public XMLGregorianCalendar newXMLGregorianCalendarTime(int hours, int minutes, int seconds, int milliseconds, int timezone)
- Overrides:
newXMLGregorianCalendarTime
in classDatatypeFactory
-
-