Package | Description |
---|---|
javax.xml.stream |
Modifier and Type | Method and Description |
---|---|
static XMLEventFactory |
XMLEventFactory.newFactory()
Create a new instance of the factory.
|
static XMLOutputFactory |
XMLOutputFactory.newFactory()
Create a new instance of the factory.
|
static XMLInputFactory |
XMLInputFactory.newFactory()
Create a new instance of the factory.
|
static XMLEventFactory |
XMLEventFactory.newFactory(String factoryId,
ClassLoader classLoader)
Create a new instance of the factory.
|
static XMLOutputFactory |
XMLOutputFactory.newFactory(String factoryId,
ClassLoader classLoader)
Create a new instance of the factory.
|
static XMLInputFactory |
XMLInputFactory.newFactory(String factoryId,
ClassLoader classLoader)
Create a new instance of the factory.
|
static XMLEventFactory |
XMLEventFactory.newInstance()
Creates a new instance of the factory in exactly the same manner as the
XMLEventFactory.newFactory() method. |
static XMLOutputFactory |
XMLOutputFactory.newInstance()
Creates a new instance of the factory in exactly the same manner as the
XMLOutputFactory.newFactory() method. |
static XMLInputFactory |
XMLInputFactory.newInstance()
Creates a new instance of the factory in exactly the same manner as the
XMLInputFactory.newFactory() method. |
static XMLEventFactory |
XMLEventFactory.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 replacement
XMLEventFactory.newFactory(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 method
XMLOutputFactory.newFactory(java.lang.String,
java.lang.ClassLoader) instead. |
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 replacement
XMLInputFactory.newFactory(java.lang.String, java.lang.ClassLoader) method
defines no changes in behavior. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.