digester.push(new ArrayList());
digester.addObjectCreate("items", ArrayList.class);
    public static Digester configureDigester(Class itemClass) {        Digester digester = new Digester();        digester.setValidating(false);        digester.setNamespaceAware(false);        digester.push(new ArrayList());        digester.addObjectCreate(ImdbXmlHelper.PATTERN, itemClass);        SetNestedPropertiesRule rule = new SetNestedPropertiesRule();        // ignore all properties that we are not interested in        rule.setAllowUnknownChildElements(true);        digester.addRule(ImdbXmlHelper.PATTERN, rule);        digester.addSetNext(ImdbXmlHelper.PATTERN, "add");        return digester;    }