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