{
Map<String, PDXObject> allXObjects = getXObjects();
images = new HashMap<String, PDXObjectImage>();
for (Map.Entry<String, PDXObject> entry : allXObjects.entrySet())
{
PDXObject xobject = entry.getValue();
if (xobject instanceof PDXObjectImage)
{
images.put(entry.getKey(), (PDXObjectImage) xobject);
}
}