Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.kohsuke.rngom.xml.sax
Class JAXPXMLReaderCreator

    java.lang.Object
      org.kohsuke.rngom.xml.sax.JAXPXMLReaderCreator

All Implemented Interfaces:
  XMLReaderCreator

    public class JAXPXMLReaderCreator

extends java.lang.Object
implements XMLReaderCreator

`XMLReaderCreator` that uses JAXP to create `XMLReader`s.

Author:
  Kohsuke Kawaguchi (kk@kohsuke.org)

Constructor Summary
`JAXPXMLReaderCreator()` Creates a `JAXPXMLReaderCreator` by using `SAXParserFactory.newInstance()`.
`JAXPXMLReaderCreator(javax.xml.parsers.SAXParserFactory spf)`

Method Summary
`org.xml.sax.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

### JAXPXMLReaderCreator

    public JAXPXMLReaderCreator(javax.xml.parsers.SAXParserFactory spf)

### JAXPXMLReaderCreator

    public JAXPXMLReaderCreator()

  Creates a `JAXPXMLReaderCreator` by using `SAXParserFactory.newInstance()`.

Method Detail

### createXMLReader

    public org.xml.sax.XMLReader createXMLReader()
                                          throws org.xml.sax.SAXException

  Description copied from interface: `XMLReaderCreator`
  Creates a new `XMLReader`.

  Specified by:
    `createXMLReader` in interface `XMLReaderCreator`
  Returns:
    a new `XMLReader`; never `null`
  Throws:
    `org.xml.sax.SAXException` - If an `XMLReader` cannot be created for any reason
  See Also:
    `XMLReaderCreator.createXMLReader()`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD