|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthotsax.html.sax.SaxParser
public class SaxParser
SaxParser - lite SAX parser. Based only on
| Constructor Summary | |
|---|---|
SaxParser()
Creates new SaxParser |
|
| Method Summary | |
|---|---|
protected Reader |
createReader(InputSource source)
create a Reader to be used by the lexer based on the InputSource Such as |
void |
endDocument()
|
void |
endElement(String name)
|
ContentHandler |
getContentHandler()
|
DTDHandler |
getDTDHandler()
|
EntityResolver |
getEntityResolver()
|
ErrorHandler |
getErrorHandler()
|
boolean |
getFeature(String p1)
|
Object |
getProperty(String p1)
|
HtmlParser |
getyyParser()
Return the HtmlParser handle. |
void |
parse(InputSource p1)
Parse the input document using the current InputSource's reader |
void |
parse(String p1)
Parser setup code. |
void |
setContentHandler(ContentHandler p1)
|
void |
setDTDHandler(DTDHandler p1)
|
void |
setEntityResolver(EntityResolver p1)
|
void |
setErrorHandler(ErrorHandler p1)
|
void |
setFeature(String p1,
boolean p2)
|
void |
setProperty(String p1,
Object p2)
|
void |
startDocument()
|
void |
startElement(String name)
collect attributes into a list and call ContentHandler.startElement |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SaxParser()
| Method Detail |
|---|
protected Reader createReader(InputSource source)
throws IOException,
MalformedURLException
IOException
MalformedURLExceptionpublic ContentHandler getContentHandler()
getContentHandler in interface XMLReader
public Object getProperty(String p1)
throws SAXNotRecognizedException,
SAXNotSupportedException
getProperty in interface XMLReaderSAXNotRecognizedException
SAXNotSupportedException
public void setFeature(String p1,
boolean p2)
throws SAXNotRecognizedException,
SAXNotSupportedException
setFeature in interface XMLReaderSAXNotRecognizedException
SAXNotSupportedExceptionpublic void setEntityResolver(EntityResolver p1)
setEntityResolver in interface XMLReaderpublic void setContentHandler(ContentHandler p1)
setContentHandler in interface XMLReaderpublic void setDTDHandler(DTDHandler p1)
setDTDHandler in interface XMLReaderpublic ErrorHandler getErrorHandler()
getErrorHandler in interface XMLReaderpublic EntityResolver getEntityResolver()
getEntityResolver in interface XMLReaderpublic void setErrorHandler(ErrorHandler p1)
setErrorHandler in interface XMLReaderpublic DTDHandler getDTDHandler()
getDTDHandler in interface XMLReader
public void setProperty(String p1,
Object p2)
throws SAXNotRecognizedException,
SAXNotSupportedException
setProperty in interface XMLReaderSAXNotRecognizedException
SAXNotSupportedException
public boolean getFeature(String p1)
throws SAXNotRecognizedException,
SAXNotSupportedException
getFeature in interface XMLReaderSAXNotRecognizedException
SAXNotSupportedException
public void parse(String p1)
throws IOException,
SAXException
parse in interface XMLReaderp1 - URI to open
IOException
SAXException
public void parse(InputSource p1)
throws IOException,
SAXException
parse in interface XMLReaderIOException
SAXException
public void startDocument()
throws SAXException
SAXException
public void endDocument()
throws SAXException
SAXException
public void startElement(String name)
throws SAXException
SAXException
public void endElement(String name)
throws SAXException
SAXExceptionpublic HtmlParser getyyParser()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||