Package net.sf.saxon.expr
Class PJConverter.CalendarValueToCalendar
java.lang.Object
net.sf.saxon.expr.PJConverter
net.sf.saxon.expr.PJConverter.CalendarValueToCalendar
- Enclosing class:
- PJConverter
- 
Nested Class SummaryNested classes/interfaces inherited from class net.sf.saxon.expr.PJConverterPJConverter.AnyURIValueToURI, PJConverter.AnyURIValueToURL, PJConverter.Atomic, PJConverter.BooleanValueToBoolean, PJConverter.CalendarValueToCalendar, PJConverter.CalendarValueToDate, PJConverter.CalendarValueToInstant, PJConverter.CalendarValueToLocalDateTime, PJConverter.CalendarValueToOffsetDateTime, PJConverter.CalendarValueToZonedDateTime, PJConverter.ConditionalUnwrapExternalObject, PJConverter.DateValueToLocalDate, PJConverter.General, PJConverter.Identity, PJConverter.IntegerValueToBigInteger, PJConverter.IntegerValueToByte, PJConverter.IntegerValueToChar, PJConverter.IntegerValueToInt, PJConverter.IntegerValueToLong, PJConverter.IntegerValueToShort, PJConverter.NumericValueToBigDecimal, PJConverter.NumericValueToDouble, PJConverter.NumericValueToFloat, PJConverter.QualifiedNameValueToQName, PJConverter.StringItemToChar, PJConverter.StringItemToString, PJConverter.StringItemToUnicodeString, PJConverter.ToArray, PJConverter.ToCollection, PJConverter.ToNull, PJConverter.ToOne, PJConverter.ToOneOrMore, PJConverter.ToSequenceExtent, PJConverter.ToSequenceIterator, PJConverter.ToZeroOrMore, PJConverter.ToZeroOrOne, PJConverter.UnwrapExternalObject
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionconvert(Sequence value, Class<?> targetClass, XPathContext context) Convert an XPath value to a Java value of a specified classMethods inherited from class net.sf.saxon.expr.PJConverterallocate, allocateNodeListCreator, getEquivalentSequenceType, getParameterizedSequenceType
- 
Field Details- 
INSTANCE
 
- 
- 
Constructor Details- 
CalendarValueToCalendarpublic CalendarValueToCalendar()
 
- 
- 
Method Details- 
convertpublic Object convert(Sequence value, Class<?> targetClass, XPathContext context) throws XPathException Description copied from class:PJConverterConvert an XPath value to a Java value of a specified class- Specified by:
- convertin class- PJConverter
- Parameters:
- value- the supplied XPath value
- targetClass- the class of the required Java value
- context- the XPath dynamic context
- Returns:
- the corresponding Java value, which is guaranteed to be an instance of the target class (except that an empty sequence is converted to null)
- Throws:
- XPathException- if the conversion is not possible or fails
 
 
-