DocumentBuilderFactory.Schema Property

Definition

Gets the Schema object specified through the #setSchema(Schema schema) method. -or- Set the Schema to be used by parsers created from this factory.

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

Property Value

Schema

the Schema object that was last set through the #setSchema(Schema) method, or null if the method was not invoked since a DocumentBuilderFactory is created.

Attributes

Exceptions

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

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

Remarks

Property getter documentation:

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

Property setter documentation:

Java documentation for javax.xml.parsers.DocumentBuilderFactory.setSchema(javax.xml.validation.Schema).

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