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 TypeMethodDescriptionvoidendElement(HTMLWorker worker, String tag) Deprecated.Implement this class to tell the HTMLWorker what to do when an close tag is encountered.voidstartElement(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:
DocumentExceptionIOException
-
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
-