Javax.Xml.Validation.SchemaFactory.NewSchema Method

Syntax

[Android.Runtime.Register("newSchema", "(Ljava/io/File;)Ljavax/xml/validation/Schema;", "GetNewSchema_Ljava_io_File_Handler")]
public virtual Schema NewSchema (Java.IO.File schema)

Parameters

schema
File that represents a schema.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Org.Xml.Sax.SAXExceptionIf a SAX error occurs during parsing.
Java.Lang.NullPointerExceptionif schema is null.

Remarks

Parses the specified File as a schema and returns it as a Schema.

This is a convenience method for SchemaFactory.NewSchema(Javax.Xml.Transform.ISource).

[Android Documentation]

Requirements

Namespace: Javax.Xml.Validation
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8