public class DurationAdapter extends XmlAdapter<String,Duration>
| Constructor and Description |
|---|
DurationAdapter() |
| Modifier and Type | Method and Description |
|---|---|
String |
marshal(Duration duration) |
Duration |
unmarshal(String field) |
public Duration unmarshal(String field) throws IllegalArgumentException
unmarshal in class XmlAdapter<String,Duration>IllegalArgumentExceptionpublic String marshal(Duration duration) throws IllegalArgumentException
marshal in class XmlAdapter<String,Duration>IllegalArgumentExceptionCopyright © 2014–2019 Delft University of Technology. All rights reserved.