|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jsefa.common.converter.XmlDateTimeConverter
public class XmlDateTimeConverter
Converter for XmlDateTime objects.
The format is a single String describing the time zone, e. g. "GMT".
It is thread safe.
| Field Summary | |
|---|---|
static String |
DEFAULT_FORMAT
The default format which is used when no format is explicitly given. |
| Constructor Summary | |
|---|---|
protected |
XmlDateTimeConverter(SimpleTypeConverterConfiguration configuration)
Constructs a XmlDateTimeConverter. |
| Method Summary | |
|---|---|
static XmlDateTimeConverter |
create(SimpleTypeConverterConfiguration configuration)
Constructs a XmlDateTimeConverter. |
Date |
fromString(String value)
Converts the given String object into an object with the simple data type this converter is
intended for. |
protected String |
getDefaultFormat()
Returns the default format which is used when no format is given. |
String |
toString(Object value)
Converts the given value to a String object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_FORMAT
| Constructor Detail |
|---|
protected XmlDateTimeConverter(SimpleTypeConverterConfiguration configuration)
XmlDateTimeConverter.getDefaultFormat()) is used.
configuration - the configuration| Method Detail |
|---|
public static XmlDateTimeConverter create(SimpleTypeConverterConfiguration configuration)
XmlDateTimeConverter.getDefaultFormat()) is used.
configuration - the configuration
public final Date fromString(String value)
String object into an object with the simple data type this converter is
intended for.
fromString in interface SimpleTypeConvertervalue - the String object to convert
public final String toString(Object value)
String object.
toString in interface SimpleTypeConvertervalue - the value to convert
protected String getDefaultFormat()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||