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

org.daisy.common.transform.XMLStreamToXMLStreamTransformer Maven / Gradle / Ivy

There is a newer version: 6.1.0
Show newest version
package org.daisy.common.transform;

import java.util.function.Supplier;
import java.util.Iterator;

import org.daisy.common.stax.BaseURIAwareXMLStreamReader;
import org.daisy.common.stax.BaseURIAwareXMLStreamWriter;

/*
 * Note that this interface does not extend javax.xml.transform.Transformer.
 */
public interface XMLStreamToXMLStreamTransformer {
	
	/**
	 * Transform a sequence of input documents to a sequence of output documents.
	 *
	 * @param input A sequence of XMLStreamReaders. Allowed to throw TransformerException.
	 * @param output A supplier of XMLStreamWriters. Allowed to throw TransformerException.
	 * @throws TransformerException
	 */
	public void transform(Iterator input, Supplier output)
		throws TransformerException;
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy