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

org.daisy.common.transform.DOMToXMLStreamTransformer 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.BaseURIAwareXMLStreamWriter;

import org.w3c.dom.Document;

/*
 * Note that this interface does not extend javax.xml.transform.Transformer.
 */
public interface DOMToXMLStreamTransformer {
	
	/**
	 * Transform a sequence of input documents to a sequence of output documents.
	 *
	 * @param input A sequence of DOM objects. 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