Package org.smooks.engine.converter
Class XmlGregorianCalendarToStringConverterFactory
- java.lang.Object
-
- org.smooks.engine.converter.XmlGregorianCalendarToStringConverterFactory
-
- All Implemented Interfaces:
org.smooks.api.converter.TypeConverterFactory<XMLGregorianCalendar,String>,org.smooks.api.resource.config.Configurable
public class XmlGregorianCalendarToStringConverterFactory extends Object implements org.smooks.api.converter.TypeConverterFactory<XMLGregorianCalendar,String>, org.smooks.api.resource.config.Configurable
XMLGregorianCalendardata decoder. Decodes the supplied string into aXMLGregorianCalendarvalue based on the supplied "format" parameter, or the default (see below). The default date format used is "yyyy-MM-dd'T'HH:mm:ss" (seeSimpleDateFormat). This format is based on the ISO 8601 standard as used by the XML Schema type "dateTime". This decoder is synchronized on its underlyingSimpleDateFormatinstance.- Author:
- stefano.maestri@javalinux.it
-
-
Constructor Summary
Constructors Constructor Description XmlGregorianCalendarToStringConverterFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.smooks.api.converter.TypeConverter<XMLGregorianCalendar,String>createTypeConverter()PropertiesgetConfiguration()org.smooks.api.converter.TypeConverterDescriptor<Class<XMLGregorianCalendar>,Class<String>>getTypeConverterDescriptor()voidsetConfiguration(Properties properties)
-
-
-
Method Detail
-
createTypeConverter
public org.smooks.api.converter.TypeConverter<XMLGregorianCalendar,String> createTypeConverter()
- Specified by:
createTypeConverterin interfaceorg.smooks.api.converter.TypeConverterFactory<XMLGregorianCalendar,String>
-
getTypeConverterDescriptor
public org.smooks.api.converter.TypeConverterDescriptor<Class<XMLGregorianCalendar>,Class<String>> getTypeConverterDescriptor()
- Specified by:
getTypeConverterDescriptorin interfaceorg.smooks.api.converter.TypeConverterFactory<XMLGregorianCalendar,String>
-
setConfiguration
public void setConfiguration(Properties properties) throws org.smooks.api.SmooksConfigException
- Specified by:
setConfigurationin interfaceorg.smooks.api.resource.config.Configurable- Throws:
org.smooks.api.SmooksConfigException
-
getConfiguration
public Properties getConfiguration()
- Specified by:
getConfigurationin interfaceorg.smooks.api.resource.config.Configurable
-
-