Interface HTMLTagProcessor
Deprecated.
since 5.5.2
Interface that needs to be implemented by every tag that is supported by HTMLWorker.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
endElement
(HTMLWorker worker, String tag) Deprecated.Implement this class to tell the HTMLWorker what to do when an close tag is encountered.void
startElement
(HTMLWorker worker, String tag, Map<String, String> attrs) Deprecated.Implement this class to tell the HTMLWorker what to do when an open tag is encountered.
-
Method Details
-
startElement
void startElement(HTMLWorker worker, String tag, Map<String, String> attrs) throws DocumentException, IOExceptionDeprecated.Implement this class to tell the HTMLWorker what to do when an open tag is encountered.- Parameters:
worker
- the HTMLWorkertag
- the tag that was encounteredattrs
- the current attributes of the tag- Throws:
DocumentException
IOException
-
endElement
Deprecated.Implement this class to tell the HTMLWorker what to do when an close tag is encountered.- Parameters:
worker
- the HTMLWorkertag
- the tag that was encountered- Throws:
DocumentException
-