Interface ODataLiteralSerializer
- All Known Subinterfaces:
ODataProtocol
- All Known Implementing Classes:
ODataProtocol.ODataProtocolV2,ODataProtocol.ODataProtocolV4
public interface ODataLiteralSerializer
Descriptor for protocol specific information on serializing type literals for filter expressions and entity keys.
-
Method Summary
Modifier and TypeMethodDescriptionReturns a function to convert a givenOffsetDateTimeinto aStringthat conforms with the protocol specification.Returns a function to convert a givenLocalDateTimeinto aStringthat conforms with the protocol specification.
-
Method Details
-
getNumberSerializer
Returns a function to convert a givenNumberinto aStringthat conforms with the protocol specification.- Returns:
- A serializer for
Numbers.
-
getUUIDSerializer
Returns a function to convert a givenUUIDinto aStringthat conforms with the protocol specification.- Returns:
- A serializer for
UUIDs.
-
getDateTimeOffsetSerializer
Returns a function to convert a givenOffsetDateTimeinto aStringthat conforms with the protocol specification.- Returns:
- A serializer for
OffsetDateTimes.
-
getTimeOfDaySerializer
Returns a function to convert a givenLocalTimeinto aStringthat conforms with the protocol specification.- Returns:
- A serializer for
LocalTimes.
-
getDateTimeSerializer
Returns a function to convert a givenLocalDateTimeinto aStringthat conforms with the protocol specification.- Returns:
- A serializer for
LocalDateTimes.
-