public Map<String, List<Attribute>> loadAttributes(){
		Map<String, List<Attribute>> map = new HashMap<String, List<Attribute>>();
		
		try{	// if xml mapping file isn't empty
				if(!isEmpty(xmlJmapper.classes))
					for (XmlClass xmlClass : xmlJmapper.classes) {
					   List<Attribute> attributes = new ArrayList<Attribute>();
					   if(!isEmpty(xmlClass.attributes))
						 for (XmlAttribute xmlAttribute : xmlClass.attributes)
							 attributes.add(Converter.toAttribute(xmlAttribute));
													
					   map.put(xmlClass.name, attributes);
					}
		}catch (Exception e) {JmapperLog.error(e);}
		return map;
	}
public Map < String , List < Attribute > > loadAttributes ( ) { Map < String , List < Attribute > > map = new HashMap < String , List < Attribute > > ( ) ; try { if ( ! isEmpty ( xmlJmapper . classes ) ) for ( XmlClass xmlClass : xmlJmapper . classes ) { List < Attribute > attributes = new ArrayList < Attribute > ( ) ; if ( ! isEmpty ( xmlClass . attributes ) ) for ( XmlAttribute xmlAttribute : xmlClass . attributes ) attributes . add ( Converter . toAttribute ( xmlAttribute ) ) ; map . put ( xmlClass . name , attributes ) ; } } catch ( Exception e ) { JmapperLog . error ( e ) ; } return map ; }
@return a Map with class name as key and a list of Attributes as value