src/authoring/entities/data/EntityBuilderData.java
public void save(List<Object[]> list) throws Exception {
		System.out.println(list.size());
		for(Object[] component : list) {
			if(component != null) {
				try {
					System.out.println(component[0].toString() + ":" + component[1].toString());
					componentAttributes.put(Class.forName(COMPONENT_PREFIX + component[0]), (Object[]) component[1]);
				} catch (Exception e) {
					throw new AuthoringException(COMPONENT_ERROR_MESSAGE, AuthoringAlert.SHOW, component);
				}
			}
		}
		EntitySaver saver = new EntitySaver();
		try {
			Object l = this.componentAttributes.get(engine.components.Name.class)[0];
		} catch(Exception k){
			AuthoringException e = new AuthoringException(NAME_ERROR_MESSAGE, AuthoringAlert.SHOW);
			k.printStackTrace();
		}

		saver.writeXML(componentAttributes, (String) this.componentAttributes.get(engine.components.Name.class)[0]);
	}
/**
	 * Saves an entity
	 * @param list
	 * @throws Exception
	 */
Saves an entity
@param list
@throws Exception
Saves an entity @param list @throws Exception
public void save(List<Object[]> list) throws Exception {
		System.out.println(list.size());
		for(Object[] component : list) {
			if(component != null) {
				try {
					System.out.println(component[0].toString() + ":" + component[1].toString());
					componentAttributes.put(Class.forName(COMPONENT_PREFIX + component[0]), (Object[]) component[1]);
				} catch (Exception e) {
					throw new AuthoringException(COMPONENT_ERROR_MESSAGE, AuthoringAlert.SHOW, component);
				}
			}
		}
		EntitySaver saver = new EntitySaver();
		try {
			Object l = this.componentAttributes.get(engine.components.Name.class)[0];
		} catch(Exception k){
			AuthoringException e = new AuthoringException(NAME_ERROR_MESSAGE, AuthoringAlert.SHOW);
			k.printStackTrace();
		}
		saver.writeXML(componentAttributes, (String) this.componentAttributes.get(engine.components.Name.class)[0]);
	}
public void save ( List < Object [ ] > list ) throws Exception { System . out . println ( list . size ( ) ) ; for ( Object [ ] component : list ) { if ( component != null ) { try { System . out . println ( component [ 0 ] . toString ( ) + ":" + component [ 1 ] . toString ( ) ) ; componentAttributes . put ( Class . forName ( COMPONENT_PREFIX + component [ 0 ] ) , ( Object [ ] ) component [ 1 ] ) ; } catch ( Exception e ) { throw new AuthoringException ( COMPONENT_ERROR_MESSAGE , AuthoringAlert . SHOW , component ) ; } } } EntitySaver saver = new EntitySaver ( ) ; try { Object l = this . componentAttributes . get ( engine . components . Name . class ) [ 0 ] ; } catch ( Exception k ) { AuthoringException e = new AuthoringException ( NAME_ERROR_MESSAGE , AuthoringAlert . SHOW ) ; k . printStackTrace ( ) ; } saver . writeXML ( componentAttributes , ( String ) this . componentAttributes . get ( engine . components . Name . class ) [ 0 ] ) ; }
Saves an entity
 @param list
 @throws Exception
Saves an entity @param list @throws Exception