|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.xbis.eventstore.SAXReader
XML event store adapter for SAX2. This reads a document event store to generate a SAX2 parse event stream.
| Constructor Summary | |
SAXReader(EventStore es)
Constructor. |
|
| Method Summary | |
org.xml.sax.ContentHandler |
getContentHandler()
|
org.xml.sax.DTDHandler |
getDTDHandler()
|
org.xml.sax.EntityResolver |
getEntityResolver()
|
org.xml.sax.ErrorHandler |
getErrorHandler()
|
boolean |
getFeature(java.lang.String name)
|
java.lang.Object |
getProperty(java.lang.String name)
|
void |
parse(org.xml.sax.InputSource input)
|
void |
parse(java.lang.String systemId)
|
void |
read()
Read document event stream from store. |
protected void |
reportCDATA()
Report CDATA section. |
protected void |
reportComment()
Report comment. |
protected void |
reportProcessingInstruction()
Report processing instruction. |
protected void |
reportText()
Report character data. |
void |
reset()
Reset state for processing event store from start. |
void |
setContentHandler(org.xml.sax.ContentHandler handler)
|
void |
setDTDHandler(org.xml.sax.DTDHandler handler)
|
void |
setEntityResolver(org.xml.sax.EntityResolver resolver)
|
void |
setErrorHandler(org.xml.sax.ErrorHandler handler)
|
void |
setFeature(java.lang.String name,
boolean value)
|
void |
setProperty(java.lang.String name,
java.lang.Object value)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SAXReader(EventStore es)
| Method Detail |
protected void reportText()
throws org.xml.sax.SAXException
org.xml.sax.SAXException - on error in processing XML data
protected void reportCDATA()
throws org.xml.sax.SAXException
org.xml.sax.SAXException - on error in processing XML data
protected void reportProcessingInstruction()
throws org.xml.sax.SAXException
org.xml.sax.SAXException - on error in processing XML data
protected void reportComment()
throws org.xml.sax.SAXException
org.xml.sax.SAXException - on error in processing XML data
public void read()
throws org.xml.sax.SAXException
org.xml.sax.SAXException - on error in processing XML datapublic final void reset()
public org.xml.sax.ContentHandler getContentHandler()
getContentHandler in interface org.xml.sax.XMLReaderpublic org.xml.sax.DTDHandler getDTDHandler()
getDTDHandler in interface org.xml.sax.XMLReaderpublic org.xml.sax.EntityResolver getEntityResolver()
getEntityResolver in interface org.xml.sax.XMLReaderpublic org.xml.sax.ErrorHandler getErrorHandler()
getErrorHandler in interface org.xml.sax.XMLReader
public boolean getFeature(java.lang.String name)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
getFeature in interface org.xml.sax.XMLReaderorg.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public java.lang.Object getProperty(java.lang.String name)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
getProperty in interface org.xml.sax.XMLReaderorg.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public void parse(org.xml.sax.InputSource input)
throws org.xml.sax.SAXException
parse in interface org.xml.sax.XMLReaderorg.xml.sax.SAXException
public void parse(java.lang.String systemId)
throws org.xml.sax.SAXException
parse in interface org.xml.sax.XMLReaderorg.xml.sax.SAXExceptionpublic void setContentHandler(org.xml.sax.ContentHandler handler)
setContentHandler in interface org.xml.sax.XMLReaderpublic void setDTDHandler(org.xml.sax.DTDHandler handler)
setDTDHandler in interface org.xml.sax.XMLReaderpublic void setEntityResolver(org.xml.sax.EntityResolver resolver)
setEntityResolver in interface org.xml.sax.XMLReaderpublic void setErrorHandler(org.xml.sax.ErrorHandler handler)
setErrorHandler in interface org.xml.sax.XMLReader
public void setFeature(java.lang.String name,
boolean value)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
setFeature in interface org.xml.sax.XMLReaderorg.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public void setProperty(java.lang.String name,
java.lang.Object value)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
setProperty in interface org.xml.sax.XMLReaderorg.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||