|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crosswire.common.xml.StringSAXEventProvider
public class StringSAXEventProvider
A SAXEventProvider that provides SAX events from a String.
The GNU Lesser General Public License for details.
Field Summary | |
---|---|
private XMLReader |
reader
The SAX parser |
private String |
xmlstr
The source of XML data |
Constructor Summary | |
---|---|
StringSAXEventProvider(String xmlstr)
Simple ctor |
Method Summary | |
---|---|
void |
provideSAXEvents(ContentHandler handler)
When SAX events are required the user of this interface can call this method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private XMLReader reader
private String xmlstr
Constructor Detail |
---|
public StringSAXEventProvider(String xmlstr) throws ParserConfigurationException, SAXException
xmlstr
- the xml as a string
ParserConfigurationException
- when there is a parser configuration problem
SAXException
- when there is a SAX problemMethod Detail |
---|
public 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
|
Copyright ยจ 2003-2015 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |