java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.apache.lenya.lucene.html.HtmlContentHandler
- All Implemented Interfaces:
- org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler
- public class HtmlContentHandler
- extends org.xml.sax.helpers.DefaultHandler
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
characters, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startElement, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtmlContentHandler
public HtmlContentHandler()
main
public static void main(java.lang.String[] args)
endDocument
public void endDocument()
throws org.xml.sax.SAXException
- Description copied from class:
org.xml.sax.helpers.DefaultHandler
- Receive notification of the end of the document.
By default, do nothing. Application writers may override this
method in a subclass to take specific actions at the end
of a document (such as finalising a tree or closing an output
file).
startPrefixMapping
public void startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
throws org.xml.sax.SAXException
- Description copied from class:
org.xml.sax.helpers.DefaultHandler
- Receive notification of the start of a Namespace mapping.
By default, do nothing. Application writers may override this
method in a subclass to take specific actions at the start of
each Namespace prefix scope (such as storing the prefix mapping).
setDocumentLocator
public void setDocumentLocator(org.xml.sax.Locator locator)
- Description copied from class:
org.xml.sax.helpers.DefaultHandler
- Receive a Locator object for document events.
By default, do nothing. Application writers may override this
method in a subclass if they wish to store the locator for use
with other document events.
startDocument
public void startDocument()
throws org.xml.sax.SAXException
- Description copied from class:
org.xml.sax.helpers.DefaultHandler
- Receive notification of the beginning of the document.
By default, do nothing. Application writers may override this
method in a subclass to take specific actions at the beginning
of a document (such as allocating the root node of a tree or
creating an output file).