Transformer.Reset Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reset this Transformer
to its original configuration.
[Android.Runtime.Register("reset", "()V", "GetResetHandler")]
public virtual void Reset ();
[<Android.Runtime.Register("reset", "()V", "GetResetHandler")>]
abstract member Reset : unit -> unit
override this.Reset : unit -> unit
- Attributes
Remarks
Reset this Transformer
to its original configuration.
Transformer
is reset to the same state as when it was created with TransformerFactory#newTransformer()
, TransformerFactory#newTransformer(Source source)
or 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 URIResolver
or ErrorListener
Object
s, e.g. Object#equals(Object obj)
. It is guaranteed to have a functionally equal URIResolver
and ErrorListener
.
Added in 1.5.
Java documentation for javax.xml.transform.Transformer.reset()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.