|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.thaiopensource.relaxng.util.Sax2XMLReaderCreator
An XMLReaderCreator
that creates XMLReader
s 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 XMLReader s. |
|
Sax2XMLReaderCreator(String className)
Constructs a Sax2XMLReaderCreator that constructs XMLReader s 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 XMLReader
s.
public Sax2XMLReaderCreator(String className)
Sax2XMLReaderCreator
that constructs XMLReader
s with the specified
class name.
className
- the fully-qualified name of the class implementing XMLReader
;
if null
equivalent to the no-argument constructorMethod Detail |
public XMLReader createXMLReader() throws SAXException
XMLReaderCreator
XMLReader
.
createXMLReader
in interface XMLReaderCreator
XMLReader
; 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 |