com.lowagie.text.html
public class SAXmyHtmlHandler extends SAXiTextHandler
Tags
-class maps several XHTML-tags to iText-objects.
Field Summary | |
---|---|
Properties | bodyAttributes These are the properties of the body section. |
boolean | tableBorder This is the status of the table border. |
Constructor Summary | |
---|---|
SAXmyHtmlHandler(DocListener document)
Constructs a new SAXiTextHandler that will translate all the events
triggered by the parser to actions on the Document -object.
| |
SAXmyHtmlHandler(DocListener document, BaseFont bf)
Constructs a new SAXiTextHandler that will translate all the events
triggered by the parser to actions on the Document -object.
| |
SAXmyHtmlHandler(DocListener document, HashMap htmlTags)
Constructs a new SAXiTextHandler that will translate all the events
triggered by the parser to actions on the Document -object.
|
Method Summary | |
---|---|
void | endElement(String uri, String lname, String name)
This method gets called when an end tag is encountered.
|
void | startElement(String uri, String lname, String name, Attributes attrs)
This method gets called when a start tag is encountered.
|
Document
-object.
Parameters: document this is the document on which events must be triggered
Document
-object.
Parameters: document this is the document on which events must be triggered bf
Document
-object.
Parameters: document this is the document on which events must be triggered htmlTags a tagmap translating HTML tags to iText tags
Parameters: uri the Uniform Resource Identifier lname the local name (without prefix), or the empty string if Namespace processing is not being performed. name the name of the tag that ends
Parameters: uri the Uniform Resource Identifier lname the local name (without prefix), or the empty string if Namespace processing is not being performed. name the name of the tag that is encountered attrs the list of attributes