Oracle Security Developer Tools Web Services Security Java API Reference
10g (10.1.4.0.1)

B28177-01


oracle.security.xmlsec.wss.encoding
Interface TimeDataEncoder

All Known Implementing Classes:
XSDDateTimeEncoder

public interface TimeDataEncoder

Classes implementing this interface encode date and time data.


Method Summary
 java.util.Date decode(java.lang.String encoded)
          Decode the encoded time String.
 java.lang.String encode(java.util.Date time)
          Encode the time.
 java.lang.String getValueType()
          Get the ValueType for this encoder.

 

Method Detail

encode

public java.lang.String encode(java.util.Date time)
Encode the time.
Parameters:
time - The Date</date> to encode.
Returns:
The encoded String.

decode

public java.util.Date decode(java.lang.String encoded)
Decode the encoded time String.
Parameters:
encoded - The encoded time String.
Returns:
The Date object.

getValueType

public java.lang.String getValueType()
Get the ValueType for this encoder.
Returns:
The QName representing this encoder.

Oracle Security Developer Tools Web Services Security Java API Reference
10g (10.1.4.0.1)

B28177-01


Copyright © 2005, 2006 , Oracle. All rights reserved.