org.apache.xerces.xni.Augmentations
public class AugmentationsImpl
extends java.lang.Object
implements org.apache.xerces.xni.Augmentations
Constructor | Description |
---|---|
AugmentationsImpl() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
getItem(java.lang.String key) |
Get information identified by a key from the Augmentations structure
|
java.util.Enumeration |
keys() |
Returns an enumeration of the keys in the Augmentations structure
|
java.lang.Object |
putItem(java.lang.String key,
java.lang.Object item) |
Add additional information identified by a key to the Augmentations structure.
|
void |
removeAllItems() |
Remove all objects from the Augmentations structure.
|
java.lang.Object |
removeItem(java.lang.String key) |
Remove additional info from the Augmentations structure
|
java.lang.String |
toString() |
public java.lang.Object putItem(java.lang.String key, java.lang.Object item)
putItem
in interface org.apache.xerces.xni.Augmentations
key
- Identifier, can't be null
item
- Additional informationnull
if it did not have one.public java.lang.Object getItem(java.lang.String key)
getItem
in interface org.apache.xerces.xni.Augmentations
key
- Identifier, can't be null
null
if the key is not mapped to any value.public java.lang.Object removeItem(java.lang.String key)
removeItem
in interface org.apache.xerces.xni.Augmentations
key
- Identifier, can't be null
null
if it did not have one.public java.util.Enumeration keys()
keys
in interface org.apache.xerces.xni.Augmentations
public void removeAllItems()
removeAllItems
in interface org.apache.xerces.xni.Augmentations
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.