public class JDOMSAXEventProvider extends Object implements SAXEventProvider
The GNU Lesser General Public License for details.
Modifier and Type | Field and Description |
---|---|
private org.jdom2.Document |
doc
The document to work from
|
Constructor and Description |
---|
JDOMSAXEventProvider(org.jdom2.Document doc)
Simple constructor
|
Modifier and Type | Method and Description |
---|---|
void |
provideSAXEvents(ContentHandler handler)
When SAX events are required the user of this interface can call this
method.
|
public JDOMSAXEventProvider(org.jdom2.Document doc)
doc
- the documentpublic void provideSAXEvents(ContentHandler handler) throws SAXException
SAXEventProvider
provideSAXEvents
in interface SAXEventProvider
handler
- The place to send SAX events.SAXException
- when a SAX encounters a problem