if (c != null) {  l = (org.apache.xerces.dom.DeepNodeListImpl) doc.getElementsByTagName(CategoryHandler.ITEM); CategoryHandler.initialize_items(c.items, l);  java.lang.Object test = null;  for (int x = 0; x < MapHandler.get_map_size(c.items); x++) {  test = ArrayHandler.get_array_element(((Map) c.items).names, x); java.lang.System.out.println("TEST: " + test); } java.lang.System.exit(0);   } else {  java.lang.System.out.println("ERROR: Could not read document. The category is null."); }
    static void read_document(java.lang.Object p0, java.lang.Object p1) throws java.lang.Exception {        org.apache.xerces.dom.DocumentImpl doc = (org.apache.xerces.dom.DocumentImpl) p1;        if (doc != null) {                        java.lang.System.out.println("INFO: Read document.");            doc.normalize();            org.apache.xerces.dom.DeepNodeListImpl l = null;                        l = (org.apache.xerces.dom.DeepNodeListImpl) doc.getElementsByTagName(CategoryHandler.SUPER_CATEGORY);            CategoryHandler.initialize_super_category(p0, l);            l = (org.apache.xerces.dom.DeepNodeListImpl) doc.getElementsByTagName(CategoryHandler.JAVA_OBJECT);            CategoryHandler.initialize_java_objects(p0, l);                            Item c = (Item) p0;            if (c != null) {                                    l = (org.apache.xerces.dom.DeepNodeListImpl) doc.getElementsByTagName(CategoryHandler.ITEM);                CategoryHandler.initialize_items(c.items, l);//?? --                java.lang.Object test = null;                                for (int x = 0; x < MapHandler.get_map_size(c.items); x++) {                        test = ArrayHandler.get_array_element(((Map) c.items).names, x);                    java.lang.System.out.println("TEST: " + test);                }                java.lang.System.exit(0);//?? --            } else {                                java.lang.System.out.println("ERROR: Could not read document. The category is null.");            }        } else {                        java.lang.System.out.println("ERROR: Could not read document. The document is null.");        }    }