Language

SchemaFactoryLoader.NewFactory(String) Method

Definition

Creates a schema factory for the specified schema language.

[Android.Runtime.Register("newFactory", "(Ljava/lang/String;)Ljavax/xml/validation/SchemaFactory;", "GetNewFactory_Ljava_lang_String_Handler")]
public abstract Javax.Xml.Validation.SchemaFactory? NewFactory(string? schemaLanguage);
[<Android.Runtime.Register("newFactory", "(Ljava/lang/String;)Ljavax/xml/validation/SchemaFactory;", "GetNewFactory_Ljava_lang_String_Handler")>]
abstract member NewFactory : string -> Javax.Xml.Validation.SchemaFactory

Parameters

schemaLanguage
String

The schema language that the returned factory must support. This value must not be null.

Returns

A SchemaFactory for schemaLanguage, or null if no factory is available.

Attributes

Exceptions

If schemaLanguage is null.

Remarks

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