public class LocalizedStringAdapter extends XmlAdapter<String,LocalizedString>
XmlAdapter
that creates a simplified representation of
a LocalizedString
which just contains the string itself without
the language and charset information. There is at least one case in the
HL7 V3 serialization in which this simplified representation is needed.Constructor and Description |
---|
LocalizedStringAdapter() |
Modifier and Type | Method and Description |
---|---|
String |
marshal(LocalizedString v) |
LocalizedString |
unmarshal(String v) |
public String marshal(LocalizedString v) throws Exception
marshal
in class XmlAdapter<String,LocalizedString>
Exception
public LocalizedString unmarshal(String v) throws Exception
unmarshal
in class XmlAdapter<String,LocalizedString>
Exception
Copyright © 2018 Open eHealth Foundation. All rights reserved.