CategoryJavaObject o = new CategoryJavaObject(); CategoryJavaObjectHandler.initialize_category_java_object(o);
CategoryJavaObject o = (CategoryJavaObject) p0;
    static void initialize_java_object_attributes(java.lang.Object p0, java.lang.Object p1) throws java.lang.Exception {        CategoryJavaObject o = new CategoryJavaObject();        CategoryJavaObjectHandler.initialize_category_java_object(o);                if (o != null) {                    java.lang.System.out.println("INFO: Initialize java object attributes.");                        o.category = read_attribute(p1, CategoryHandler.CATEGORY);            org.w3c.dom.NamedNodeMap m = (org.w3c.dom.NamedNodeMap) p1;                if (m != null) {                        int i = 0;                int size = m.getLength();                org.w3c.dom.Node n = null;                                while (i < size) {                                            n = m.item(i);                                        if (n != null) {                                                MapHandler.add_map_element(o.attributes, n.getNodeValue(), "attribute");                                    } else {                                                java.lang.System.out.println("WARNING: Could not initialize java object attributes. An attribute node is null.");                    }                }                        } else {                                java.lang.System.out.println("WARNING: Could not initialize java object attributes. The node map is null.");            }            } else {                        java.lang.System.out.println("ERROR: Could not initialize java object attributes. The java object is null.");        }    }