digestr.addObjectCreate(pattern,IfElement.class);
digestr.addSetProperties(pattern);
digestr.addSetNext(pattern,CHILD_METHOD);
// resources import <f:importResource src="...">
pattern = ANY_PARENT+NS_PREFIX+IMPORT_RESOURCE_TAG;
digestr.addFactoryCreate(pattern, new AbstractObjectCreationFactory() {
public Object createObject(Attributes attributes) throws Exception {
if (attributes == null) {
throw new IllegalArgumentException("Attributes set is null for " +