class ExtractorModelParser_v1 implements DOMExtractorModelParser {

    @Override
    public ExtractorModelContainer parse(String location, Element xmlRoot) {

        MutableExtractorModelContainer extractors = new MutableExtractorModelContainer(location);

        try {
            doParse(extractors, xmlRoot);
        } catch (DOMException e) {
            throw new LmRuntimeException("Error merging config from DOM", e);
        }

        extractors.setLoadedOn(System.currentTimeMillis());
        return extractors;
    }

}