org.springframework.data.domain.jaxb
Class OrderAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<SpringDataJaxb.OrderDto,Sort.Order>
org.springframework.data.domain.jaxb.OrderAdapter
public class OrderAdapter
- extends XmlAdapter<SpringDataJaxb.OrderDto,Sort.Order>
XmlAdapter to convert Sort.Order
instances into SpringDataJaxb.OrderDto
s and vice versa.
- Author:
- Oliver Gierke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final OrderAdapter INSTANCE
OrderAdapter
public OrderAdapter()
marshal
public SpringDataJaxb.OrderDto marshal(Sort.Order order)
throws Exception
- Specified by:
marshal
in class XmlAdapter<SpringDataJaxb.OrderDto,Sort.Order>
- Throws:
Exception
unmarshal
public Sort.Order unmarshal(SpringDataJaxb.OrderDto source)
throws Exception
- Specified by:
unmarshal
in class XmlAdapter<SpringDataJaxb.OrderDto,Sort.Order>
- Throws:
Exception
Copyright © 2011-2013-2013 Pivotal. All Rights Reserved.