LinkedHashMap<Integer,LinkedHashMap> pointMap = new LinkedHashMap<Integer,LinkedHashMap>();
Element pointElements = paintElement.element("points");
Integer k = 0;
for ( Iterator i = pointElements.elementIterator( "point" ); i.hasNext(); ) {
Element pointElement = (Element) i.next();
LinkedHashMap<Integer,Object> singlePoint = new LinkedHashMap<Integer,Object>();
singlePoint.put(0, pointElement.getName());
singlePoint.put(1, Integer.valueOf(pointElement.attribute("val1").getText()).intValue());
singlePoint.put(2, Integer.valueOf(pointElement.attribute("val2").getText()).intValue());