ap = new COSDictionary();
((COSDictionary)ap).setItem(COSName.getPDFName( "default" ), aux );
}
COSDictionary map = (COSDictionary)ap;
Map<String, PDAppearanceStream> actuals = new HashMap<String, PDAppearanceStream>();
Map retval = new COSDictionaryMap( actuals, map );
for( COSName asName : map.keySet() )
{
COSStream as = (COSStream)map.getDictionaryObject( asName );
actuals.put( asName.getName(), new PDAppearanceStream( as ) );
}