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
public SpringDataJaxb.OrderDto marshal(Sort.Order order)
marshal
in class XmlAdapter<SpringDataJaxb.OrderDto,Sort.Order>
public Sort.Order unmarshal(SpringDataJaxb.OrderDto source)
unmarshal
in class XmlAdapter<SpringDataJaxb.OrderDto,Sort.Order>
Copyright © 2011-2014–2015 Pivotal Software, Inc.. All rights reserved.