public class OrderAdapter extends XmlAdapter<SpringDataJaxb.OrderDto,Sort.Order>
Sort.Order
instances into SpringDataJaxb.OrderDto
s and vice versa.Modifier and Type | Field and Description |
---|---|
static OrderAdapter |
INSTANCE |
Constructor and Description |
---|
OrderAdapter() |
Modifier and Type | Method and Description |
---|---|
SpringDataJaxb.OrderDto |
marshal(Sort.Order order) |
Sort.Order |
unmarshal(SpringDataJaxb.OrderDto source) |
public static final OrderAdapter INSTANCE
@Nullable public SpringDataJaxb.OrderDto marshal(@Nullable Sort.Order order)
marshal
in class XmlAdapter<SpringDataJaxb.OrderDto,Sort.Order>
@Nullable public Sort.Order unmarshal(@Nullable SpringDataJaxb.OrderDto source)
unmarshal
in class XmlAdapter<SpringDataJaxb.OrderDto,Sort.Order>
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.