EnvironmentFactory.parser = parser;
}
/** parses the given resource with {@link #getParser() the current parser}. */
public static EnvironmentFactory parseResource(String resource) {
Parse parse = new Parse();
EnvironmentFactory environmentFactory = (EnvironmentFactory) getParser().parseResource(resource, null, parse);
parse.checkProblems("EnvironmentFactory");
return environmentFactory;
}