Map actualMap = new HashMap();
Iterator keyIter = map.keyList().iterator();
while( keyIter.hasNext() )
{
COSName key = (COSName)keyIter.next();
COSBase cosObj = map.getDictionaryObject( key );
Object actualObject = null;
if( cosObj instanceof COSString )
{
actualObject = ((COSString)cosObj).getString();
}