DatatypeFactory.NewInstance Method

Definition

Overloads

NewInstance()

Obtain a new instance of a DatatypeFactory.

NewInstance(String, ClassLoader)

Returns an instance of the named implementation of DatatypeFactory.

NewInstance()

Obtain a new instance of a DatatypeFactory.

[Android.Runtime.Register("newInstance", "()Ljavax/xml/datatype/DatatypeFactory;", "")]
public static Javax.Xml.Datatype.DatatypeFactory? NewInstance ();
[<Android.Runtime.Register("newInstance", "()Ljavax/xml/datatype/DatatypeFactory;", "")>]
static member NewInstance : unit -> Javax.Xml.Datatype.DatatypeFactory

Returns

New instance of a DocumentBuilderFactory

Attributes

Exceptions

If the implementation is not available or cannot be instantiated.

Remarks

Obtain a new instance of a DatatypeFactory.

The implementation resolution mechanisms are defined in this Class's documentation.

Note that you must supply your own implementation (such as Xerces); Android does not ship with a default implementation.

Java documentation for javax.xml.datatype.DatatypeFactory.newInstance().

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

NewInstance(String, ClassLoader)

Returns an instance of the named implementation of DatatypeFactory.

[Android.Runtime.Register("newInstance", "(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/datatype/DatatypeFactory;", "")]
public static Javax.Xml.Datatype.DatatypeFactory? NewInstance (string? factoryClassName, Java.Lang.ClassLoader? classLoader);
[<Android.Runtime.Register("newInstance", "(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/datatype/DatatypeFactory;", "")>]
static member NewInstance : string * Java.Lang.ClassLoader -> Javax.Xml.Datatype.DatatypeFactory

Parameters

factoryClassName
String
classLoader
ClassLoader

Returns

New instance of a <code>DocumentBuilderFactory</code>

Attributes

Exceptions

if factoryClassName is not available or cannot be instantiated.

Remarks

Returns an instance of the named implementation of DatatypeFactory.

Added in 1.6.

Java documentation for javax.xml.datatype.DatatypeFactory.newInstance(java.lang.String, java.lang.ClassLoader).

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