public Filter makeFilter(JrdsDocument n) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException, InstantiationException { JrdsElement root = n.getRootElement(); JrdsElement name = root.getElementbyName("name"); if(name == null) return null; FilterXml f = new FilterXml(name.getTextContent()); setMethod(root.getChildElementsByName("path"), f, "addPath", String.class); setMethod(root.getChildElementsByName("tag"), f, "addTag", String.class); setMethod(root.getChildElementsByName("qualifiedname"), f, "addGraph", String.class); doACL(f, n, root); logger.trace(Util.delayedFormatString("Filter loaded: %s", f.getName())); return f; }