public class DurationXmlAdapter extends XmlAdapter<String,Duration>
XmlAdapter mapping JSR-310 Duration to ISO-8601 string
String format details:
XmlAdapter,
Duration| Constructor and Description |
|---|
DurationXmlAdapter() |
| Modifier and Type | Method and Description |
|---|---|
String |
marshal(Duration value) |
Duration |
unmarshal(String stringValue) |
Copyright © 2015. All rights reserved.