All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.daisy.pipeline.cssinlining.InlineCSSProvider Maven / Gradle / Ivy

There is a newer version: 3.1.3
Show newest version
package org.daisy.pipeline.cssinlining;

import javax.xml.transform.URIResolver;

import org.daisy.common.xproc.calabash.XProcStepProvider;

import com.xmlcalabash.core.XProcRuntime;
import com.xmlcalabash.core.XProcStep;
import com.xmlcalabash.runtime.XAtomicStep;

import cz.vutbr.web.css.CSSFactory;

public class InlineCSSProvider implements XProcStepProvider {

	private URIResolver resolver;

	@Override
	public XProcStep newStep(XProcRuntime runtime, XAtomicStep step) {
		return new InlineCSSStep(runtime, step, resolver);
	}

	public void setUriResolver(URIResolver resolver) {
		this.resolver = resolver;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy