|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xerces.util.AugmentationsImpl
public class AugmentationsImpl
This class provides an implementation for Augmentations interface. Augmentations interface defines a hashtable of additional data that could be passed along the document pipeline. The information can contain extra arguments or infoset augmentations, for example PSVI. This additional information is identified by a String key.
Constructor Summary | |
---|---|
AugmentationsImpl()
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AugmentationsImpl()
Method Detail |
---|
public java.lang.Object putItem(java.lang.String key, java.lang.Object item)
putItem
in interface Augmentations
key
- Identifier, can't be null
item
- Additional information
null
if it did not have one.public java.lang.Object getItem(java.lang.String key)
getItem
in interface 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 Augmentations
key
- Identifier, can't be null
null
if it did not have one.public java.util.Enumeration keys()
keys
in interface Augmentations
public void removeAllItems()
removeAllItems
in interface Augmentations
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |