public void registerModule() { String[] classes = { "org.javarosa.model.xform.XPathReference", "org.javarosa.xpath.XPathConditional" }; PrototypeManager.registerPrototypes(classes); PrototypeManager.registerPrototypes(XPathParseTool.xpathClasses); RestoreUtils.xfFact = new AnonymouseIXFormFactory(); }