Example usage for Java javax.xml.datatype DatatypeFactory fields, constructors, methods, implement or subclass
The text is from its open source code.
Duration | newDuration(final String lexicalRepresentation) Obtain a new instance of a Duration specifying the Duration as its string representation, "PnYnMnDTnHnMnS", as defined in XML Schema 1.0 section 3.2.6.1. |
Duration | newDuration(final long durationInMilliSeconds) Obtain a new instance of a Duration specifying the Duration as milliseconds. |
Duration | newDuration(final boolean isPositive, final BigInteger years, final BigInteger months, final BigInteger days, final BigInteger hours, final BigInteger minutes, final BigDecimal seconds) Obtain a new instance of a Duration specifying the Duration as isPositive, years, months, days, hours, minutes, seconds. |
Duration | newDuration(final boolean isPositive, final int years, final int months, final int days, final int hours, final int minutes, final int seconds) Obtain a new instance of a Duration specifying the Duration as isPositive, years, months, days, hours, minutes, seconds. |
Duration | newDurationDayTime(final String lexicalRepresentation) Create a Duration of type xdt:dayTimeDuration by parsing its String representation, "PnDTnHnMnS", XQuery 1.0 and XPath 2.0 Data Model, xdt:dayTimeDuration. |
Duration | newDurationDayTime(final long durationInMilliseconds) Create a Duration of type xdt:dayTimeDuration using the specified milliseconds as defined in XQuery 1.0 and XPath 2.0 Data Model, xdt:dayTimeDuration. |
Duration | newDurationYearMonth(final String lexicalRepresentation) Create a Duration of type xdt:yearMonthDuration by parsing its String representation, "PnYnM", XQuery 1.0 and XPath 2.0 Data Model, xdt:yearMonthDuration. |
Duration | newDurationYearMonth(final long durationInMilliseconds) Create a Duration of type xdt:yearMonthDuration using the specified milliseconds as defined in XQuery 1.0 and XPath 2.0 Data Model, xdt:yearMonthDuration. |
DatatypeFactory | newInstance() Obtain a new instance of a DatatypeFactory . |
XMLGregorianCalendar | newXMLGregorianCalendar(final String lexicalRepresentation) Create a new XMLGregorianCalendar by parsing the String as a lexical representation. |
XMLGregorianCalendar | newXMLGregorianCalendar(final GregorianCalendar cal) Create an XMLGregorianCalendar from a GregorianCalendar . |
XMLGregorianCalendar | newXMLGregorianCalendar() Create a new instance of an XMLGregorianCalendar . |
XMLGregorianCalendar | newXMLGregorianCalendar(final BigInteger year, final int month, final int day, final int hour, final int minute, final int second, final BigDecimal fractionalSecond, final int timezone) Constructor allowing for complete value spaces allowed by W3C XML Schema 1.0 recommendation for xsd:dateTime and related builtin datatypes. |
XMLGregorianCalendar | newXMLGregorianCalendar(final int year, final int month, final int day, final int hour, final int minute, final int second, final int millisecond, final int timezone) Constructor of value spaces that a java.util.GregorianCalendar instance would need to convert to an XMLGregorianCalendar instance. |
XMLGregorianCalendar | newXMLGregorianCalendarDate(final int year, final int month, final int day, final int timezone) Create a Java representation of XML Schema builtin datatype date or g* . |
XMLGregorianCalendar | newXMLGregorianCalendarTime(final int hours, final int minutes, final int seconds, final BigDecimal fractionalSecond, final int timezone) Create a Java instance of XML Schema builtin datatype time. |
XMLGregorianCalendar | newXMLGregorianCalendarTime(final int hours, final int minutes, final int seconds, final int milliseconds, final int timezone) Create a Java instance of XML Schema builtin datatype time. |