|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hotsax.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
MalformedURLException
public ContentHandler getContentHandler()
getContentHandler
in interface XMLReader
public Object getProperty(String p1) throws SAXNotRecognizedException, SAXNotSupportedException
getProperty
in interface XMLReader
SAXNotRecognizedException
SAXNotSupportedException
public void setFeature(String p1, boolean p2) throws SAXNotRecognizedException, SAXNotSupportedException
setFeature
in interface XMLReader
SAXNotRecognizedException
SAXNotSupportedException
public void setEntityResolver(EntityResolver p1)
setEntityResolver
in interface XMLReader
public void setContentHandler(ContentHandler p1)
setContentHandler
in interface XMLReader
public void setDTDHandler(DTDHandler p1)
setDTDHandler
in interface XMLReader
public ErrorHandler getErrorHandler()
getErrorHandler
in interface XMLReader
public EntityResolver getEntityResolver()
getEntityResolver
in interface XMLReader
public void setErrorHandler(ErrorHandler p1)
setErrorHandler
in interface XMLReader
public DTDHandler getDTDHandler()
getDTDHandler
in interface XMLReader
public void setProperty(String p1, Object p2) throws SAXNotRecognizedException, SAXNotSupportedException
setProperty
in interface XMLReader
SAXNotRecognizedException
SAXNotSupportedException
public boolean getFeature(String p1) throws SAXNotRecognizedException, SAXNotSupportedException
getFeature
in interface XMLReader
SAXNotRecognizedException
SAXNotSupportedException
public void parse(String p1) throws IOException, SAXException
parse
in interface XMLReader
p1
- URI to open
IOException
SAXException
public void parse(InputSource p1) throws IOException, SAXException
parse
in interface XMLReader
IOException
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
SAXException
public HtmlParser getyyParser()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |