Top Description Fields Constructors Methods
com.sun.tools.rngom.xml.sax

public Class JAXPXMLReaderCreator

extends Object
implements XMLReaderCreator
Class Inheritance
All Implemented Interfaces
com.sun.tools.rngom.xml.sax.XMLReaderCreator
Imports
java.util.logging.Level, .Logger, javax.xml.XMLConstants, javax.xml.parsers.ParserConfigurationException, .SAXParserFactory, org.xml.sax.SAXException, .SAXNotRecognizedException, .SAXNotSupportedException, .XMLReader

XMLReaderCreator that uses JAXP to create XMLReaders.
Author
Kohsuke Kawaguchi ([email protected])

Field Summary

Modifier and TypeField and Description
private final SAXParserFactory

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public XMLReader
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

spfback to summary
private final SAXParserFactory spf

Constructor Detail

JAXPXMLReaderCreatorback to summary
public JAXPXMLReaderCreator(SAXParserFactory spf)
JAXPXMLReaderCreatorback to summary
public JAXPXMLReaderCreator()

Creates a by using SAXParserFactory#newInstance().

Method Detail

createXMLReaderback to summary
public XMLReader createXMLReader() throws SAXException

Implements com.sun.tools.rngom.xml.sax.XMLReaderCreator.createXMLReader.

Doc from com.sun.tools.rngom.xml.sax.XMLReaderCreator.createXMLReader.

Creates a new XMLReader.

Exceptions
SAXException:
If an XMLReader cannot be created for any reason