/*
* reserved comment block
* DO NOT REMOVE OR ALTER!
*/
/*
* Copyright 2000-2002,2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* 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.
* <p>
*
* @author Elena Litani, IBM
*/
new SmallContainer();
/**
* Add additional information identified by a key to the Augmentations structure.
*
* @param key Identifier, can't be <code>null</code>
* @param item Additional information
*
* @return the previous value of the specified key in the Augmentations strucutre,
* or <code>null</code> if it did not have one.
*/
}
return oldValue;
}
/**
* Get information identified by a key from the Augmentations structure
*
* @param key Identifier, can't be <code>null</code>
*
* @return the value to which the key is mapped in the Augmentations structure;
* <code>null</code> if the key is not mapped to any value.
*/
}
/**
* Remove additional info from the Augmentations structure
*
* @param key Identifier, can't be <code>null</code>
*/
}
/**
* Returns an enumeration of the keys in the Augmentations structure
*
*/
return fAugmentationsContainer.keys();
}
/**
* Remove all objects from the Augmentations structure.
*/
public void removeAllItems() {
}
return fAugmentationsContainer.toString();
}
abstract class AugmentationsItemsContainer {
abstract public void clear();
abstract public boolean isFull();
}
return new SmallContainerKeyEnumeration();
}
return fAugmentations[i+1];
}
}
return null;
}
return oldValue;
}
}
fNumEntries++;
return null;
}
}
fNumEntries--;
return oldValue;
}
}
return null;
}
public void clear() {
fAugmentations[i] = null;
}
fNumEntries = 0;
}
public boolean isFull() {
return (fNumEntries == SIZE_LIMIT);
}
fAugmentations[i+1]);
}
return expandedContainer;
}
}
}
for (int i = 0; i < fNumEntries; i++) {
}
}
public boolean hasMoreElements() {
}
}
next++;
return nextVal;
}
}
}
}
}
}
return fAugmentations.keys();
}
public void clear() {
}
public boolean isFull() {
return false;
}
return this;
}
while (keys.hasMoreElements()) {
}
}
}
}