com.agilejava.docbkx.maven.TransformerBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docbkx-maven-base Show documentation
Show all versions of docbkx-maven-base Show documentation
A number of base classes, providing the basic behaviour
of objects / plugins transforming DocBook XML sources into some
other format.
package com.agilejava.docbkx.maven;
import java.io.IOException;
import javax.xml.transform.Transformer;
/**
* An object creating a {@link Transformer}.
*
* @author Wilfred Springer
*
*/
public interface TransformerBuilder {
/**
* Builds a {@link Transformer}.
*
* @return The {@link Transformer} built.
*
* @throws TransformerBuilderException If the object fails to build a {@link Transformer}.
*/
Transformer build() throws TransformerBuilderException;
/**
* The exception thrown when the {@link TransformerBuilder} will not be able to reproduce
* the Transformer.
*/
public class TransformerBuilderException extends RuntimeException {
public TransformerBuilderException(String message, Throwable cause) {
super(message, cause);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy