Class XSDDateTimeDateEncoder
java.lang.Object
com.sun.xml.rpc.encoding.simpletype.SimpleTypeEncoderBase
com.sun.xml.rpc.encoding.simpletype.XSDDateTimeDateEncoder
- All Implemented Interfaces:
SimpleTypeEncoder
- Direct Known Subclasses:
XSDDateTimeCalendarEncoder
- Author:
- JAX-RPC Development Team
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final SimpleDateFormatprotected static final TimeZoneprotected static final Localeprotected static final SimpleDateFormat -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static DatedecodeDateUtil(String str, StringBuffer zone) protected static StringgetDateFormatPattern(String xsdDateTime) protected static intgetDateFormatPattern(String dateStr, StringBuffer strBuf) static SimpleTypeEncoderobjectToString(Object obj, XMLWriter writer) stringToObject(String str, XMLReader reader) static voidvalidateDateStr(String dateStr) Methods inherited from class com.sun.xml.rpc.encoding.simpletype.SimpleTypeEncoderBase
writeAdditionalNamespaceDeclarations, writeValue
-
Field Details
-
locale
-
timeZoneFormatter
-
gmtTimeZone
-
dateFormatter
-
-
Constructor Details
-
XSDDateTimeDateEncoder
protected XSDDateTimeDateEncoder()
-
-
Method Details
-
getInstance
-
objectToString
- Specified by:
objectToStringin interfaceSimpleTypeEncoder- Specified by:
objectToStringin classSimpleTypeEncoderBase- Throws:
Exception
-
stringToObject
- Specified by:
stringToObjectin interfaceSimpleTypeEncoder- Specified by:
stringToObjectin classSimpleTypeEncoderBase- Throws:
Exception
-
validateDateStr
- Throws:
Exception
-
getDateFormatPattern
-
decodeDateUtil
- Throws:
Exception
-
getDateFormatPattern
-