Class XSDDateEncoder
- java.lang.Object
-
- com.sun.xml.rpc.encoding.simpletype.SimpleTypeEncoderBase
-
- com.sun.xml.rpc.encoding.simpletype.XSDDateEncoder
-
- All Implemented Interfaces:
SimpleTypeEncoder
public class XSDDateEncoder extends SimpleTypeEncoderBase
- Author:
- JAX-RPC RI Development Team
-
-
Field Summary
Fields Modifier and Type Field Description protected static SimpleDateFormatdateFormatterprotected static TimeZonegmtTimeZoneprotected static Localelocale
-
Constructor Summary
Constructors Modifier Constructor Description protectedXSDDateEncoder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SimpleTypeEncodergetInstance()StringobjectToString(Object obj, XMLWriter writer)ObjectstringToObject(String str, XMLReader reader)static voidvalidateDateStr(String dateStr)-
Methods inherited from class com.sun.xml.rpc.encoding.simpletype.SimpleTypeEncoderBase
writeAdditionalNamespaceDeclarations, writeValue
-
-
-
-
Field Detail
-
locale
protected static final Locale locale
-
dateFormatter
protected static final SimpleDateFormat dateFormatter
-
gmtTimeZone
protected static final TimeZone gmtTimeZone
-
-
Method Detail
-
getInstance
public static SimpleTypeEncoder getInstance()
-
objectToString
public String objectToString(Object obj, XMLWriter writer) throws Exception
- Specified by:
objectToStringin interfaceSimpleTypeEncoder- Specified by:
objectToStringin classSimpleTypeEncoderBase- Throws:
Exception
-
stringToObject
public Object stringToObject(String str, XMLReader reader) throws Exception
- Specified by:
stringToObjectin interfaceSimpleTypeEncoder- Specified by:
stringToObjectin classSimpleTypeEncoderBase- Throws:
Exception
-
-