Uses of Class
javax.xml.stream.XMLInputFactory
Packages that use XMLInputFactory
Package
Description
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 XMLInputFactoryModifier and TypeMethodDescriptionstatic XMLInputFactoryXMLInputFactory.newDefaultFactory()Creates a new instance of theXMLInputFactorybuiltin system-default implementation.static XMLInputFactoryXMLInputFactory.newFactory()Creates a new instance of the factory.static XMLInputFactoryXMLInputFactory.newFactory(String factoryId, ClassLoader classLoader) Create a new instance of the factory.static XMLInputFactoryXMLInputFactory.newInstance()Creates a new instance of the factory in exactly the same manner as thenewFactory()method.static XMLInputFactoryXMLInputFactory.newInstance(String factoryId, ClassLoader classLoader) Deprecated.This method has been deprecated to maintain API consistency.static XMLInputFactoryXMLOutputFactory.newInstance(String factoryId, ClassLoader classLoader) Deprecated.This method has been deprecated because it returns an instance of XMLInputFactory, which is of the wrong class.