Reset this Transformer to its original configuration.
Transformer is reset to the same state as when it was created with {@link TransformerFactory#newTransformer()}, {@link TransformerFactory#newTransformer(Source source)} or{@link Templates#newTransformer()}. reset() is designed to allow the reuse of existing Transformers thus saving resources associated with the creation of new Transformers.
The reset Transformer is not guaranteed to have the same {@link URIResolver}or {@link ErrorListener} Objects, e.g. {@link Object#equals(Object obj)}. It is guaranteed to have a functionally equal URIResolver and ErrorListener.
@since 1.5