| Constructor and Description |
|---|
AttributeMap(XMLObject newOwner)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
void |
deregisterID(QName attributeName)
Deregister an attribute as having a type of ID.
|
Set<Map.Entry<QName,String>> |
entrySet()
Returns the set of entries.
|
String |
get(Object key) |
boolean |
isEmpty() |
boolean |
isIDAttribute(QName attributeName)
Check whether a given attribute is locally registered as having an ID type within
this AttributeMap instance.
|
Set<QName> |
keySet()
Returns the set of keys.
|
String |
put(QName attributeName,
String value) |
void |
putAll(Map<? extends QName,? extends String> t) |
void |
registerID(QName attributeName)
Register an attribute as having a type of ID.
|
String |
remove(Object key) |
int |
size() |
Collection<String> |
values()
Returns the values in this map.
|
public AttributeMap(XMLObject newOwner) throws NullPointerException
newOwner - the XMLObject that owns these attributesNullPointerException - thrown if the given XMLObject is nullpublic boolean containsKey(Object key)
containsKey in interface Map<QName,String>public boolean containsValue(Object value)
containsValue in interface Map<QName,String>public Collection<String> values()
public void registerID(QName attributeName)
attributeName - the QName of the ID attribute to be registeredpublic void deregisterID(QName attributeName)
attributeName - the QName of the ID attribute to be de-registeredpublic boolean isIDAttribute(QName attributeName)
attributeName - the QName of the attribute to be checked for ID type.Copyright © 2006-2013 Internet2. All Rights Reserved.