public class PageAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<SpringDataJaxb.PageDto,Page<Object>>
Constructor and Description |
---|
PageAdapter() |
Modifier and Type | Method and Description |
---|---|
protected List<org.springframework.hateoas.Link> |
getLinks(Page<?> source)
Return additional links that shall be added to the
SpringDataJaxb.PageDto . |
SpringDataJaxb.PageDto |
marshal(Page<Object> source) |
Page<Object> |
unmarshal(SpringDataJaxb.PageDto v) |
public SpringDataJaxb.PageDto marshal(Page<Object> source) throws Exception
marshal
in class javax.xml.bind.annotation.adapters.XmlAdapter<SpringDataJaxb.PageDto,Page<Object>>
Exception
public Page<Object> unmarshal(SpringDataJaxb.PageDto v) throws Exception
unmarshal
in class javax.xml.bind.annotation.adapters.XmlAdapter<SpringDataJaxb.PageDto,Page<Object>>
Exception
protected List<org.springframework.hateoas.Link> getLinks(Page<?> source)
SpringDataJaxb.PageDto
.source
- the source Page
.Copyright © 2011-2013-2013 SpringSource. All Rights Reserved.