public static void main(String[] args){
		DeviceXMLBuilderFactory factory = new DeviceXMLBuilderFactory();
		
		String filename = (args.length > 0) ? args[0] : "data.xml";
		
		try {
			
			AbstractXMLBuilder builder = factory.createBuilder("sax");
			logger.info(String.format(Messages.getString("using_builder"), builder.getClass().getSimpleName()));
			List<Device> devices = builder.buildList(filename);
			System.out.println(devices);
		} catch (BuilderException e) {
			logger.error(e.getMessage());
			
		}
	}