Javax.Xml.Validation.SchemaFactory.NewSchema Method

Syntax

[Android.Runtime.Register("newSchema", "(Ljavax/xml/transform/Source;)Ljavax/xml/validation/Schema;", "GetNewSchema_Ljavax_xml_transform_Source_Handler")]
public virtual Schema NewSchema (Javax.Xml.Transform.ISource schema)

Parameters

schema
Source 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 source 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