TransformerFactory.NewInstance Method

Definition

Overloads

NewInstance(String, ClassLoader)

Returns an instance of the named implementation of TransformerFactory.

NewInstance()

Returns Android's implementation of TransformerFactory.

NewInstance(String, ClassLoader)

Returns an instance of the named implementation of TransformerFactory.

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

Parameters

factoryClassName
String
classLoader
ClassLoader

Returns

Attributes

Exceptions

if factoryClassName is not available or cannot be instantiated.

Remarks

Returns an instance of the named implementation of TransformerFactory.

Added in 1.6.

Java documentation for javax.xml.transform.TransformerFactory.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

NewInstance()

Returns Android's implementation of TransformerFactory.

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

Returns

Attributes

Exceptions

never. Included for API compatibility with other Java implementations.

Remarks

Returns Android's implementation of TransformerFactory. Unlike other Java implementations, this method does not consult system properties, properties files, or the services API.

Java documentation for javax.xml.transform.TransformerFactory.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