Javax.Xml.Validation.SchemaFactory.NewSchema Method

Syntax

[Android.Runtime.Register("newSchema", "(Ljava/net/URL;)Ljavax/xml/validation/Schema;", "GetNewSchema_Ljava_net_URL_Handler")]
public virtual Schema NewSchema (Java.Net.URL schema)

Parameters

schema
URL 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 URL 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