* @throws IOException If there is an error while creating the sub types.
*/
public Map getNames() throws IOException
{
Map names = null;
COSArray namesArray = (COSArray)node.getDictionaryObject( "Names" );
if( namesArray != null )
{
names = new HashMap();
for( int i=0; i<namesArray.size(); i+=2 )
{
COSString key = (COSString)namesArray.getObject(i);
COSBase cosValue = namesArray.getObject( i+1 );
Object pdValue = convertCOSToPD( cosValue );
names.put( key.getString(), pdValue );
}
names = Collections.unmodifiableMap(names);