{
if ((coordinates.length % 2) != 0)
{
throw new ParseException("Polygon-shape needs an even number of coordinate-values", getLocator());
}
return new PolygonImageMapEntry(coordinates);
}
if ("default".equals(type))
{
return new DefaultImageMapEntry();