/** * Get the StyleNodeFactory used to build the stylesheet tree * * @param topLevel true if the factory is for the top-level (package) module of a package * @return the StyleNodeFactory */ public StyleNodeFactory getStyleNodeFactory(boolean topLevel) { StyleNodeFactory factory = getConfiguration().makeStyleNodeFactory(this); factory.setTopLevelModule(topLevel); return factory; }
/** * Get the StyleNodeFactory used to build the stylesheet tree * * @param topLevel true if the factory is for the top-level (package) module of a package * @return the StyleNodeFactory */ public StyleNodeFactory getStyleNodeFactory(boolean topLevel) { StyleNodeFactory factory = getConfiguration().makeStyleNodeFactory(this); factory.setTopLevelModule(topLevel); return factory; }