DocumentBuilderFactory.NewInstance Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
NewInstance() |
Returns Android's implementation of |
NewInstance(String, ClassLoader) |
Returns an instance of the named implementation of |
NewInstance()
Returns Android's implementation of DocumentBuilderFactory
.
[Android.Runtime.Register("newInstance", "()Ljavax/xml/parsers/DocumentBuilderFactory;", "")]
public static Javax.Xml.Parsers.DocumentBuilderFactory? NewInstance ();
[<Android.Runtime.Register("newInstance", "()Ljavax/xml/parsers/DocumentBuilderFactory;", "")>]
static member NewInstance : unit -> Javax.Xml.Parsers.DocumentBuilderFactory
Returns
a new DocumentBuilderFactory.
- Attributes
Remarks
Returns Android's implementation of DocumentBuilderFactory
. Unlike other Java implementations, this method does not consult system properties, property files, or the services API.
Java documentation for javax.xml.parsers.DocumentBuilderFactory.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 DocumentBuilderFactory
.
[Android.Runtime.Register("newInstance", "(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/parsers/DocumentBuilderFactory;", "")]
public static Javax.Xml.Parsers.DocumentBuilderFactory? NewInstance (string? factoryClassName, Java.Lang.ClassLoader? classLoader);
[<Android.Runtime.Register("newInstance", "(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/parsers/DocumentBuilderFactory;", "")>]
static member NewInstance : string * Java.Lang.ClassLoader -> Javax.Xml.Parsers.DocumentBuilderFactory
Parameters
- factoryClassName
- String
- classLoader
- ClassLoader
Returns
a new DocumentBuilderFactory.
- Attributes
Exceptions
if factoryClassName
is not available or cannot be
instantiated.
Remarks
Returns an instance of the named implementation of DocumentBuilderFactory
.
Added in 1.6.
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.