use of org.craftercms.core.processors.impl.resolvers.MetaDataProcessorResolver in project core by craftercms.
the class MetaDataProcessorResolverTest method setUpTestResolver.
private void setUpTestResolver() {
Map<String, ItemProcessor> processors = new HashMap<String, ItemProcessor>();
processors.put(PROCESSOR1_ELEMENT_VALUE, processor1);
processors.put(PROCESSOR2_ELEMENT_VALUE, processor2);
resolver = new MetaDataProcessorResolver();
resolver.setProcessorElementXPathQuery(PROCESSOR_ELEMENT_XPATH_QUERY);
resolver.setElementValueToProcessorMappings(processors);
}
Aggregations