public class XMLReaderFactory extends Object
Modifier and Type | Field and Description |
---|---|
static String |
XERCES_SAXPARSER |
Constructor and Description |
---|
XMLReaderFactory() |
Modifier and Type | Method and Description |
---|---|
protected static XMLReader |
_createXMLReader(String name) |
static XMLReader |
createXMLReader()
creates an org.xml.sax.XMLReader object.
|
static XMLReader |
createXMLReader(String name)
Creates an org.xml.sax.XMLReader object using the supplied name.
|
public static final String XERCES_SAXPARSER
public static XMLReader createXMLReader() throws SAXException
SAXException
- when no default XMLReader class can be found or instantiated.public static XMLReader createXMLReader(String name) throws SAXException
SAXException
- when the supplied XMLReader class name can not be found or instantiated.protected static XMLReader _createXMLReader(String name) throws ClassNotFoundException, ClassCastException, InstantiationException, IllegalAccessException
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.