Freigeben über


DocumentBuilder.Schema Property

Definition

Get a reference to the the Schema being used by the XML processor.

public virtual Javax.Xml.Validation.Schema? Schema { [Android.Runtime.Register("getSchema", "()Ljavax/xml/validation/Schema;", "GetGetSchemaHandler")] get; }
[<get: Android.Runtime.Register("getSchema", "()Ljavax/xml/validation/Schema;", "GetGetSchemaHandler")>]
member this.Schema : Javax.Xml.Validation.Schema

Property Value

Schema being used or null if none in use

Attributes

Exceptions

For backward compatibility, when implementations for earlier versions of JAXP is used, this exception will be thrown.

Remarks

Get a reference to the the Schema being used by the XML processor.

If no schema is being used, null is returned.

Added in 1.5.

Java documentation for javax.xml.parsers.DocumentBuilder.getSchema().

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