public class AttributesAdapter extends XmlAdapter<AttributesAdapter.PersistableAttributes,SortedMap<String,Attribute>>
| Modifier and Type | Class and Description |
|---|---|
static class |
AttributesAdapter.PersistableAttributes |
| Constructor and Description |
|---|
AttributesAdapter() |
| Modifier and Type | Method and Description |
|---|---|
AttributesAdapter.PersistableAttributes |
marshal(SortedMap<String,Attribute> toPersist) |
SortedMap<String,Attribute> |
unmarshal(AttributesAdapter.PersistableAttributes toLoad) |
public AttributesAdapter.PersistableAttributes marshal(SortedMap<String,Attribute> toPersist) throws Exception
marshal in class XmlAdapter<AttributesAdapter.PersistableAttributes,SortedMap<String,Attribute>>Exceptionpublic SortedMap<String,Attribute> unmarshal(AttributesAdapter.PersistableAttributes toLoad) throws Exception
unmarshal in class XmlAdapter<AttributesAdapter.PersistableAttributes,SortedMap<String,Attribute>>ExceptionCopyright © 2018 ReTest GmbH. All rights reserved.