/** * Creates a new {@link SnuggleEngine} using the given {@link StylesheetCache} * for managing stylesheets. Use this if you want to integrate XSLT caching * with your own code or want more control over how things get cached. * The {@link DefaultTransformerFactoryChooser} is used to choose * XSLT implementations. */ public SnuggleEngine(StylesheetCache stylesheetCache) { this(DefaultTransformerFactoryChooser.getInstance(), stylesheetCache); }
/** * Creates a new {@link StylesheetManager} using the {@link DefaultTransformerFactoryChooser} and * the given {@link StylesheetCache}. * * @param cache {@link StylesheetCache} to use, which may be null if you don't want to do any * caching. */ public StylesheetManager(StylesheetCache cache) { this(DefaultTransformerFactoryChooser.getInstance(), cache); }
/** * Creates a new {@link SnuggleEngine} using the given {@link StylesheetCache} * for managing stylesheets. Use this if you want to integrate XSLT caching * with your own code or want more control over how things get cached. * The {@link DefaultTransformerFactoryChooser} is used to choose * XSLT implementations. */ public SnuggleEngine(StylesheetCache stylesheetCache) { this(DefaultTransformerFactoryChooser.getInstance(), stylesheetCache); }
/** * Creates a new {@link StylesheetManager} using the {@link DefaultTransformerFactoryChooser} and * no {@link StylesheetCache}. */ public StylesheetManager() { this(DefaultTransformerFactoryChooser.getInstance(), null); }
/** * Creates a new {@link StylesheetManager} using the {@link DefaultTransformerFactoryChooser} and * the given {@link StylesheetCache}. * * @param cache {@link StylesheetCache} to use, which may be null if you don't want to do any * caching. */ public StylesheetManager(StylesheetCache cache) { this(DefaultTransformerFactoryChooser.getInstance(), cache); }
/** * Creates a new {@link SnuggleEngine} using the given {@link StylesheetCache} * for managing stylesheets. Use this if you want to integrate XSLT caching * with your own code or want more control over how things get cached. * The {@link DefaultTransformerFactoryChooser} is used to choose * XSLT implementations. */ public SnuggleEngine(StylesheetCache stylesheetCache) { this(DefaultTransformerFactoryChooser.getInstance(), stylesheetCache); }
/** * Creates a new {@link StylesheetManager} using the {@link DefaultTransformerFactoryChooser} and * no {@link StylesheetCache}. */ public StylesheetManager() { this(DefaultTransformerFactoryChooser.getInstance(), null); }
/** * Creates a new {@link StylesheetManager} using the {@link DefaultTransformerFactoryChooser} and * the given {@link StylesheetCache}. * * @param cache {@link StylesheetCache} to use, which may be null if you don't want to do any * caching. */ public StylesheetManager(StylesheetCache cache) { this(DefaultTransformerFactoryChooser.getInstance(), cache); }
/** * Creates a new {@link StylesheetManager} using the {@link DefaultTransformerFactoryChooser} and * no {@link StylesheetCache}. */ public StylesheetManager() { this(DefaultTransformerFactoryChooser.getInstance(), null); }
/** * Creates a new {@link SnuggleEngine} using a very simple internal cache for any * XSLT stylesheets required that simply stores them internally for the lifetime * of the engine. The {@link DefaultTransformerFactoryChooser} is used to choose * XSLT implementations. * <p> * This will be fine in most cases. If you want more control over * this, consider the alternative constructor. */ public SnuggleEngine() { this(DefaultTransformerFactoryChooser.getInstance(), new SimpleStylesheetCache()); }
/** * Creates a new {@link SnuggleEngine} using a very simple internal cache for any * XSLT stylesheets required that simply stores them internally for the lifetime * of the engine. The {@link DefaultTransformerFactoryChooser} is used to choose * XSLT implementations. * <p> * This will be fine in most cases. If you want more control over * this, consider the alternative constructor. */ public SnuggleEngine() { this(DefaultTransformerFactoryChooser.getInstance(), new SimpleStylesheetCache()); }
/** * Creates a new {@link SnuggleEngine} using a very simple internal cache for any * XSLT stylesheets required that simply stores them internally for the lifetime * of the engine. The {@link DefaultTransformerFactoryChooser} is used to choose * XSLT implementations. * <p> * This will be fine in most cases. If you want more control over * this, consider the alternative constructor. */ public SnuggleEngine() { this(DefaultTransformerFactoryChooser.getInstance(), new SimpleStylesheetCache()); }