Uses of Class
javax.xml.stream.XMLInputFactory
-
Packages that use XMLInputFactory Package Description javax.xml.stream Defines interfaces and classes for the Streaming API for XML (StAX). -
-
Uses of XMLInputFactory in javax.xml.stream
Methods in javax.xml.stream that return XMLInputFactory Modifier and Type Method Description static XMLInputFactory
XMLInputFactory. newDefaultFactory()
Creates a new instance of theXMLInputFactory
builtin system-default implementation.static XMLInputFactory
XMLInputFactory. newFactory()
Deprecated.static XMLInputFactory
XMLInputFactory. newFactory(String factoryId, ClassLoader classLoader)
Create a new instance of the factory.static XMLInputFactory
XMLInputFactory. newInstance()
Creates a new instance of the factory in exactly the same manner as thenewFactory()
method.static XMLInputFactory
XMLInputFactory. newInstance(String factoryId, ClassLoader classLoader)
Deprecated.This method has been deprecated to maintain API consistency. All newInstance methods have been replaced with corresponding newFactory methods. The replacementnewFactory(java.lang.String, java.lang.ClassLoader)
method defines no changes in behavior.static XMLInputFactory
XMLOutputFactory. newInstance(String factoryId, ClassLoader classLoader)
Deprecated.This method has been deprecated because it returns an instance of XMLInputFactory, which is of the wrong class. Use the new methodXMLOutputFactory.newFactory(java.lang.String, java.lang.ClassLoader)
instead.
-