Package org.gedcomx.rt
Class EnumURIMap<K extends Enum<K>>
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.EnumMap<K,String>
-
- org.gedcomx.rt.EnumURIMap<K>
-
- All Implemented Interfaces:
Serializable,Cloneable,Map<K,String>
public class EnumURIMap<K extends Enum<K>> extends EnumMap<K,String>
Map for maintaining enum URIs that avoids the use of Enunciate's XmlQNameEnumUtil, which relies on JAXB annotations that Android can't handle.- Author:
- Ryan Heaton
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description EnumURIMap(Class<K> keyType)EnumURIMap(Class<K> keyType, String defaultNamespace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KfromURIValue(URI uri)URItoURIValue(K constant)-
Methods inherited from class java.util.EnumMap
clear, clone, containsKey, containsValue, entrySet, equals, get, hashCode, keySet, put, putAll, remove, size, values
-
Methods inherited from class java.util.AbstractMap
isEmpty, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-