public class

AugmentationsImpl

extends Object
implements Augmentations
java.lang.Object
   ↳ org.apache.xerces.util.AugmentationsImpl

Class Overview

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.

Summary

Public Constructors
AugmentationsImpl()
Public Methods
Object getItem(String key)
Get information identified by a key from the Augmentations structure
Enumeration keys()
Returns an enumeration of the keys in the Augmentations structure
Object putItem(String key, Object item)
Add additional information identified by a key to the Augmentations structure.
void removeAllItems()
Remove all objects from the Augmentations structure.
Object removeItem(String key)
Remove additional info from the Augmentations structure
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.apache.xerces.xni.Augmentations

Public Constructors

public AugmentationsImpl ()

Public Methods

public Object getItem (String key)

Get information identified by a key from the Augmentations structure

Parameters
key Identifier, can't be null
Returns
  • the value to which the key is mapped in the Augmentations structure; null if the key is not mapped to any value.

public Enumeration keys ()

Returns an enumeration of the keys in the Augmentations structure

public Object putItem (String key, Object item)

Add additional information identified by a key to the Augmentations structure.

Parameters
key Identifier, can't be null
item Additional information
Returns
  • the previous value of the specified key in the Augmentations strucutre, or null if it did not have one.

public void removeAllItems ()

Remove all objects from the Augmentations structure.

public Object removeItem (String key)

Remove additional info from the Augmentations structure

Parameters
key Identifier, can't be null
Returns
  • the previous value of the specified key in the Augmentations structure, or null if it did not have one.

public String toString ()