com.itextpdf.text.html.simpleparser
Interface HTMLTagProcessor


Deprecated.

public interface HTMLTagProcessor

Interface that needs to be implemented by every tag that is supported by HTMLWorker.


Method Summary
 void 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 Detail

startElement

void startElement(HTMLWorker worker,
                  String tag,
                  Map<String,String> attrs)
                  throws DocumentException,
                         IOException
Deprecated. 
Implement this class to tell the HTMLWorker what to do when an open tag is encountered.

Parameters:
worker - the HTMLWorker
tag - the tag that was encountered
attrs - the current attributes of the tag
Throws:
DocumentException
IOException

endElement

void endElement(HTMLWorker worker,
                String tag)
                throws DocumentException
Deprecated. 
Implement this class to tell the HTMLWorker what to do when an close tag is encountered.

Parameters:
worker - the HTMLWorker
tag - the tag that was encountered
Throws:
DocumentException


Copyright © 2013. All Rights Reserved.