|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.thaiopensource.xml.sax.Sax2XMLReaderCreator
An XMLReaderCreator that creates XMLReaders using the SAX2 XMLReaderFactory.
An instance of this class is safe for concurrent access by multiple threads.
XMLReaderFactory| Constructor Summary | |
Sax2XMLReaderCreator()
Constructs a Sax2XMLReaderCreator that uses system defaults to construct XMLReaders. |
|
Sax2XMLReaderCreator(String className)
Constructs a Sax2XMLReaderCreator that constructs XMLReaders with the specified
class name. |
|
| Method Summary | |
XMLReader |
createXMLReader()
Creates a new XMLReader. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Sax2XMLReaderCreator()
Sax2XMLReaderCreator that uses system defaults to construct XMLReaders.
public Sax2XMLReaderCreator(String className)
Sax2XMLReaderCreator that constructs XMLReaders with the specified
class name.
className - the fully-qualified name of the class implementing XMLReader;
if null equivalent to the no-argument constructor| Method Detail |
public XMLReader createXMLReader()
throws SAXException
XMLReaderCreatorXMLReader.
createXMLReader in interface XMLReaderCreatorXMLReader; never null
SAXException - If an XMLReader cannot be created for any reason
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||