code: static public void main(String ... args) throws Exception {
          FileInputStream fin = new FileInputStream(args[0]);
          XMLReader<Sample> reader = new XMLReader<Sample>();
          
          for( Map<String,Object> map : reader.read(fin, Sample.class) ) {
              System.out.println("Next...");
              for( Map.Entry<String,Object> entry : map.entrySet() ) {
                  System.out.println("\t" + entry.getKey() + " (" + (entry.getValue() != null ? entry.getValue().getClass().getName() : "") + "): " + entry.getValue());
              }
          }
      }
docs: ******************** EVERYTHING BELOW HERE IS FOR TESTING PURPOSES AND NOT CRITICAL ********************