Freigeben über


SAXParser.Reset Method

Definition

Reset this SAXParser 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 SAXParser to its original configuration.

SAXParser is reset to the same state as when it was created with SAXParserFactory#newSAXParser(). reset() is designed to allow the reuse of existing SAXParsers thus saving resources associated with the creation of new SAXParsers.

The reset SAXParser is not guaranteed to have the same SchemaObject, e.g. Object#equals(Object obj). It is guaranteed to have a functionally equal Schema.

Added in 1.5.

Java documentation for javax.xml.parsers.SAXParser.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