Uses of Class
javax.xml.stream.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()
Create a new instance of the factory.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.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.