public Generator getGenerator()

in src/main/java/org/apache/sling/rewriter/impl/FactoryCache.java [118:125]


    public Generator getGenerator(final String type) {
        final GeneratorFactory factory = this.generatorTracker.getFactory(type);
        if ( factory == null ) {
            LOGGER.debug("Requested generator factory for type '{}' not found.", type);
            return null;
        }
        return factory.createGenerator();
    }