public class DistanceUnitAdapter extends XmlAdapter<String,DistanceUnit>
| Constructor and Description |
|---|
DistanceUnitAdapter() |
| Modifier and Type | Method and Description |
|---|---|
String |
marshal(DistanceUnit v) |
DistanceUnit |
unmarshal(String v) |
public DistanceUnit unmarshal(String v) throws Exception
unmarshal in class XmlAdapter<String,DistanceUnit>Exceptionpublic String marshal(DistanceUnit v) throws Exception
marshal in class XmlAdapter<String,DistanceUnit>ExceptionCopyright © 2016. All rights reserved.