Aracılığıyla paylaş


Validator.Reset Method

Definition

Reset this Validator to its original configuration.

[Android.Runtime.Register("reset", "()V", "GetResetHandler")]
public abstract void Reset ();
[<Android.Runtime.Register("reset", "()V", "GetResetHandler")>]
abstract member Reset : unit -> unit
Attributes

Remarks

Reset this Validator to its original configuration.

Validator is reset to the same state as when it was created with Schema#newValidator(). reset() is designed to allow the reuse of existing Validators thus saving resources associated with the creation of new Validators.

The reset Validator is not guaranteed to have the same LSResourceResolver or ErrorHandlerObjects, e.g. Object#equals(Object obj). It is guaranteed to have a functionally equal LSResourceResolver and ErrorHandler.

Java documentation for javax.xml.validation.Validator.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.

Applies to