public class OrderAdapter extends javax.xml.bind.annotation.adapters.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) throws Exception
marshal
in class javax.xml.bind.annotation.adapters.XmlAdapter<SpringDataJaxb.OrderDto,Sort.Order>
Exception
public Sort.Order unmarshal(SpringDataJaxb.OrderDto source) throws Exception
unmarshal
in class javax.xml.bind.annotation.adapters.XmlAdapter<SpringDataJaxb.OrderDto,Sort.Order>
Exception
Copyright © 2011-2013-2013 SpringSource. All Rights Reserved.