Schema.NewValidator Method

Definition

Creates a new Validator for this Schema.

[Android.Runtime.Register("newValidator", "()Ljavax/xml/validation/Validator;", "GetNewValidatorHandler")]
public abstract Javax.Xml.Validation.Validator? NewValidator ();
[<Android.Runtime.Register("newValidator", "()Ljavax/xml/validation/Validator;", "GetNewValidatorHandler")>]
abstract member NewValidator : unit -> Javax.Xml.Validation.Validator

Returns

Always return a non-null valid object.

Attributes

Remarks

Creates a new Validator for this Schema.

A validator enforces/checks the set of constraints this object represents.

Java documentation for javax.xml.validation.Schema.newValidator().

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