public class MonthDayDV extends AbstractDateTimeDV
datatypeFactory, DAY, MONTH, YEAR
EQUAL, GREATER_THAN, INDETERMINATE, LESS_THAN
Constructor and Description |
---|
MonthDayDV() |
Modifier and Type | Method and Description |
---|---|
protected String |
dateToString(org.apache.xerces.impl.dv.xs.AbstractDateTimeDV.DateTimeData date)
Converts gMonthDay object representation to String
|
Object |
getActualValue(String content,
ValidationContext context)
Convert a string to a compiled form
|
protected XMLGregorianCalendar |
getXMLGregorianCalendar(org.apache.xerces.impl.dv.xs.AbstractDateTimeDV.DateTimeData date) |
protected org.apache.xerces.impl.dv.xs.AbstractDateTimeDV.DateTimeData |
parse(String str)
Parses, validates and computes normalized version of gMonthDay object
|
append, append, append2, compare, compareDates, compareOrder, findUTCSign, fQuotient, fQuotient, getAllowedFacets, getDate, getDuration, getFractionalSecondsAsBigDecimal, getTime, getTimeZone, getYearMonth, indexOf, isIdentical, isNextCharUTCSign, maxDayInMonthFor, mod, modulo, normalize, parseInt, parseIntYear, parseSecond, parseTimeZone, resetDateObj, saveUnnormalized, validateDateTime
checkExtraRules, getDataLength, getDigit, getFractionDigits, getTotalDigits, isDigit
public Object getActualValue(String content, ValidationContext context) throws InvalidDatatypeValueException
getActualValue
in class TypeValidator
content
- The lexical representation of gMonthDayInvalidDatatypeValueException
protected org.apache.xerces.impl.dv.xs.AbstractDateTimeDV.DateTimeData parse(String str) throws SchemaDateTimeException
str
- The lexical representation of gMonthDay object --MM-DD
with possible time zone Z or (-),(+)hh:mmSchemaDateTimeException
- Invalid lexical representationprotected String dateToString(org.apache.xerces.impl.dv.xs.AbstractDateTimeDV.DateTimeData date)
dateToString
in class AbstractDateTimeDV
date
- gmonthDay objectprotected XMLGregorianCalendar getXMLGregorianCalendar(org.apache.xerces.impl.dv.xs.AbstractDateTimeDV.DateTimeData date)
getXMLGregorianCalendar
in class AbstractDateTimeDV
Copyright © 2016 JBoss by Red Hat. All rights reserved.