org.apache.xerces.impl.dv.xs
Class DateTimeStampDV

java.lang.Object
  extended byorg.apache.xerces.impl.dv.xs.TypeValidator
      extended byorg.apache.xerces.impl.dv.xs.AbstractDateTimeDV
          extended byorg.apache.xerces.impl.dv.xs.DateTimeDV
              extended byorg.apache.xerces.impl.dv.xs.DateTimeStampDV

public class DateTimeStampDV
extends DateTimeDV

Validator for <dateTimeStamp> datatype (W3C Schema Datatypes)

Version:
$Id: DateTimeStampDV.java 1156230 2011-08-10 15:27:50Z knoaman $

INTERNAL:

Usage of this class is not supported. It may be altered or removed at any time.

Field Summary
 
Fields inherited from class org.apache.xerces.impl.dv.xs.AbstractDateTimeDV
datatypeFactory, DAY, MONTH, YEAR
 
Fields inherited from class org.apache.xerces.impl.dv.xs.TypeValidator
EQUAL, GREATER_THAN, INDETERMINATE, LESS_THAN
 
Constructor Summary
DateTimeStampDV()
           
 
Method Summary
 java.lang.Object getActualValue(java.lang.String content, ValidationContext context)
           
protected  org.apache.xerces.impl.dv.xs.AbstractDateTimeDV.DateTimeData parse(java.lang.String str, boolean isXMLSchema11)
          Parses, validates and computes normalized version of dateTime object
 
Methods inherited from class org.apache.xerces.impl.dv.xs.DateTimeDV
getXMLGregorianCalendar
 
Methods inherited from class org.apache.xerces.impl.dv.xs.AbstractDateTimeDV
append, append, append2, compare, compareDates, compareOrder, dateToString, findUTCSign, fQuotient, fQuotient, getDate, getDuration, getFractionalSecondsAsBigDecimal, getTime, getTimeZone, getYearMonth, hasTimeZone, indexOf, isIdentical, isNextCharUTCSign, maxDayInMonthFor, mod, modulo, normalize, parseInt, parseIntYear, parseSecond, parseTimeZone, resetDateObj, saveUnnormalized, validateDateTime
 
Methods inherited from class org.apache.xerces.impl.dv.xs.TypeValidator
checkExtraRules, getDataLength, getDigit, getFractionDigits, getPrecision, getTotalDigits, hasPrecision, isDigit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateTimeStampDV

public DateTimeStampDV()
Method Detail

getActualValue

public java.lang.Object getActualValue(java.lang.String content,
                                       ValidationContext context)
                                throws InvalidDatatypeValueException
Overrides:
getActualValue in class DateTimeDV
Throws:
InvalidDatatypeValueException

parse

protected org.apache.xerces.impl.dv.xs.AbstractDateTimeDV.DateTimeData parse(java.lang.String str,
                                                                             boolean isXMLSchema11)
                                                                      throws SchemaDateTimeException
Description copied from class: DateTimeDV
Parses, validates and computes normalized version of dateTime object

Overrides:
parse in class DateTimeDV
Parameters:
str - The lexical representation of dateTime object CCYY-MM-DDThh:mm:ss.sss with possible time zone Z or (-),(+)hh:mm
Returns:
normalized dateTime representation
Throws:
SchemaDateTimeException - Invalid lexical representation


Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.