org.springframework.data.domain.jaxb
Class SortAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<SpringDataJaxb.SortDto,Sort>
org.springframework.data.domain.jaxb.SortAdapter
public class SortAdapter
- extends XmlAdapter<SpringDataJaxb.SortDto,Sort>
XmlAdapter
to convert Sort
instances into SpringDataJaxb.SortDto
instances 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 SortAdapter INSTANCE
SortAdapter
public SortAdapter()
marshal
public SpringDataJaxb.SortDto marshal(Sort source)
throws Exception
- Specified by:
marshal
in class XmlAdapter<SpringDataJaxb.SortDto,Sort>
- Throws:
Exception
unmarshal
public Sort unmarshal(SpringDataJaxb.SortDto source)
throws Exception
- Specified by:
unmarshal
in class XmlAdapter<SpringDataJaxb.SortDto,Sort>
- Throws:
Exception
Copyright © 2012. All Rights Reserved.