public class AttributeMap extends HashMap<String,String>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
AttributeMap() |
| Modifier and Type | Method and Description |
|---|---|
Namespace |
getNamespace() |
String |
put(String key,
boolean value)
Another variation of the put method to convert boolean values into
strings.
|
String |
put(String key,
int value)
Another variation of the put method to convert integer values into
strings.
|
void |
setNamespace(Namespace namespace)
Set the namespace for all attributes contained within this map.
|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCode, toStringpublic void setNamespace(Namespace namespace)
namespace - The new namespace.public Namespace getNamespace()
public String put(String key, int value)
key - The attribute's name.value - The value of the attribute.public String put(String key, boolean value)
key - the attribute's name.value - the value of the attribute.Copyright © 2016 DuraSpace. All rights reserved.