|
Oracle Fusion Middleware Web Services Security Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10678-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.xmlsec.wss.encoding.XSDDateTimeEncoder
public class XSDDateTimeEncoder
Implements encoding of time in the UTC format.
Constructor Summary | |
---|---|
XSDDateTimeEncoder() |
Method Summary | |
---|---|
java.util.Date |
decode(java.lang.String encoded) Parses a date String. |
java.lang.String |
encode(java.util.Date time) Formats time as a String in UTC format. |
java.lang.String |
getValueType() Get the ValueType for this encoder. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XSDDateTimeEncoder()
Method Detail |
---|
public java.lang.String encode(java.util.Date time)
encode
in interface TimeDataEncoder
time
- The Date
to format.public java.util.Date decode(java.lang.String encoded)
decode
in interface TimeDataEncoder
encoded
- The formatted date String.Date
object.public java.lang.String getValueType()
getValueType
in interface TimeDataEncoder
QName
representing this encoder.
|
Oracle Fusion Middleware Web Services Security Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10678-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |