public class GenericTypeResourceAdapter extends XmlAdapter<GenericTypeResourceDTO,GenericTypeResource>
Constructor and Description |
---|
GenericTypeResourceAdapter() |
Modifier and Type | Method and Description |
---|---|
GenericTypeResourceDTO |
marshal(GenericTypeResource resource) |
GenericTypeResource |
unmarshal(GenericTypeResourceDTO dto) |
public GenericTypeResource unmarshal(GenericTypeResourceDTO dto) throws Exception
unmarshal
in class XmlAdapter<GenericTypeResourceDTO,GenericTypeResource>
Exception
public GenericTypeResourceDTO marshal(GenericTypeResource resource) throws Exception
marshal
in class XmlAdapter<GenericTypeResourceDTO,GenericTypeResource>
Exception
Copyright © 2020. All rights reserved.