Package com.sun.xml.rpc.streaming
Class XMLReaderFactory
java.lang.Object
com.sun.xml.rpc.streaming.XMLReaderFactory
- Direct Known Subclasses:
FastInfosetReaderFactoryImpl
,XMLReaderFactoryImpl
Define a factory API to enable pluggable XMLReader implementations.
- Author:
- JAX-RPC Development Team
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract XMLReader
Obtain an XMLReader on the given InputStream.abstract XMLReader
createXMLReader
(InputStream in, boolean rejectDTDs) Obtain an XMLReader on the given InputStream.abstract XMLReader
createXMLReader
(InputSource source) Obtain an XMLReader on the given InputSource.abstract XMLReader
createXMLReader
(InputSource source, boolean rejectDTDs) Obtain an XMLReader on the given InputSource.static XMLReaderFactory
Obtain an instance of a factory.
-
Constructor Details
-
XMLReaderFactory
protected XMLReaderFactory()
-
-
Method Details
-
newInstance
Obtain an instance of a factory.Since factories are stateless, only one copy of a factory exists and is returned to the application each time this method is called.
The implementation class to be used can be overridden by setting the com.sun.xml.rpc.streaming.XMLReaderFactory system property.
-
createXMLReader
Obtain an XMLReader on the given InputStream. -
createXMLReader
Obtain an XMLReader on the given InputSource. -
createXMLReader
Obtain an XMLReader on the given InputStream. -
createXMLReader
Obtain an XMLReader on the given InputSource.
-