|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.xml.JaxpXMLReaderFactory
public class JaxpXMLReaderFactory
INTERNAL: A factory for creating SAX2 XMLReaders using the JAXP SAXParserFactory.getXMLReader() method.
The created parser is namespace-aware and non-validating by default.
Field Summary | |
---|---|
protected javax.xml.parsers.SAXParserFactory |
factory
|
Constructor Summary | |
---|---|
|
JaxpXMLReaderFactory()
INTERNAL: Creates a factory that creates XML readers that namespace aware and not validating. |
protected |
JaxpXMLReaderFactory(boolean namespace_aware,
boolean validating)
INTERNAL: Creates a factory that creates XML readers with the specified settings for namespace awareness and validation. |
Method Summary | |
---|---|
org.xml.sax.XMLReader |
createXMLReader()
Creates a new SAX2 XMLReader object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected javax.xml.parsers.SAXParserFactory factory
Constructor Detail |
---|
public JaxpXMLReaderFactory()
protected JaxpXMLReaderFactory(boolean namespace_aware, boolean validating)
Method Detail |
---|
public org.xml.sax.XMLReader createXMLReader() throws org.xml.sax.SAXException
createXMLReader
in interface XMLReaderFactoryIF
org.xml.sax.SAXException
- Thrown if the class cannot be loaded,
instantiated, and cast to XMLReader.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |