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>
IllegalArgumentException
public String marshal(Duration duration) throws IllegalArgumentException
marshal
in class XmlAdapter<String,Duration>
IllegalArgumentException
Copyright © 2014–2019 Delft University of Technology. All rights reserved.