| com.sun.xml.stream.xerces.xni.Augmentations
All known Subclasses: com.sun.xml.stream.xerces.util.AugmentationsImpl,
Augmentations | public interface Augmentations (Code) | | The Augmentations interface defines a table of additional data that may
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.
Note:
Methods that receive Augmentations are required to copy the information
if it is to be saved for use beyond the scope of the method.
The Augmentations content is volatile, and maybe modified by any method in
any component in the pipeline. Therefore, methods passed this structure
should not save any reference to the structure.
author: Elena Litani, IBM version: $Id: Augmentations.java,v 1.2 2006/04/01 06:01:45 jeffsuttor Exp $ |
getItem | public Object getItem(String key)(Code) | | Get information identified by a key from the Augmentations structure
Parameters: key - Identifier, can't be null the value to which the key is mapped in the Augmentations structure;null if the key is not mapped to any value. |
keys | public Enumeration keys()(Code) | | Returns an enumeration of the keys in the Augmentations structure
|
putItem | public Object putItem(String key, Object item)(Code) | | Add additional information identified by a key to the Augmentations structure.
Parameters: key - Identifier, can't be null Parameters: item - Additional information the previous value of the specified key in the Augmentations structure,or null if it did not have one. |
removeAllItems | public void removeAllItems()(Code) | | Remove all objects from the Augmentations structure.
|
removeItem | public Object removeItem(String key)(Code) | | Remove additional info from the Augmentations structure
Parameters: key - Identifier, can't be null the previous value of the specified key in the Augmentations structure,or null if it did not have one. |
|
|