public Injector<?> getInjector(ContextResolver resolver) {
ObjectFactory<?> factory;
if (TypeHelper.class.equals(type)) {
factory = new TypeHelperObjectFactory(resolver);
} else if (DataFactory.class.equals(type)) {
factory = new DataFactoryObjectFactory(resolver);
} else if (XSDHelper.class.equals(type)) {
factory = new XSDHelperObjectFactory(resolver);
} else if (XMLHelper.class.equals(type)) {
factory = new XMLHelperObjectFactory(resolver);
} else {