Overview | Package | Class | Tree | Deprecated | Index | Help
| Oracle Security Developer Tools Web Services Security Java API Reference 10g Release 3 (10.1.3) B25382-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Overview | Package | Class | Tree | Deprecated | Index | Help
| Oracle Security Developer Tools Web Services Security Java API Reference 10g Release 3 (10.1.3) B25382-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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