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

org.daisy.common.xproc.calabash.XProcStepRegistry Maven / Gradle / Ivy

package org.daisy.common.xproc.calabash;

import net.sf.saxon.s9api.QName;

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

// TODO: Auto-generated Javadoc
/**
 * The Interface XProcStepRegistry sets the behaviour for step registration
 */
public interface XProcStepRegistry {

	/**
	 * Checks whether the step identified by the qualified name has been already registered.
	 *
	 * @param type the step
	 * @return true, if successful
	 */
	boolean hasStep(QName type);

	/**
	 * returns the step implementation for the atomic step using the the step provider type given by the first argument.
	 *
	 * @param type the type
	 * @param runtime the runtime
	 * @param step the step
	 * @return the x proc step
	 */
	XProcStep newStep(QName type, XProcRuntime runtime, XAtomicStep step);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy