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 Transformer
s thus saving resources associated with the creation of new Transformer
s.
The reset Transformer
is not guaranteed to have the same {@link URIResolver}or {@link ErrorListener} Object
s, e.g. {@link Object#equals(Object obj)}. It is guaranteed to have a functionally equal URIResolver
and ErrorListener
.
@since 1.5