Table of Contents

Class TextmyHandler

Namespace
iTextSharp.text.xml
Assembly
iTextSharp.LGPLv2.Core.dll

The iTextmyHandler -class maps several XHTML-tags to iText-objects.

public class TextmyHandler : TextHandler
Inheritance
TextmyHandler
Inherited Members

Constructors

TextmyHandler(IDocListener, TagMap)

Constructs a new iTextHandler that will translate all the events triggered by the parser to actions on the Document -object.

public TextmyHandler(IDocListener document, TagMap myTags)

Parameters

document IDocListener

this is the document on which events must be triggered

myTags TagMap

a map of tags

Methods

EndElement(string, string, string)

This method gets called when an end tag is encountered.

public override void EndElement(string uri, string lname, string name)

Parameters

uri string
lname string
name string

the name of the tag that ends

StartElement(string, string, string, INullValueDictionary<string, string>)

This method gets called when a start tag is encountered.

public override void StartElement(string uri, string lname, string name, INullValueDictionary<string, string> attrs)

Parameters

uri string
lname string
name string

the name of the tag that is encountered

attrs INullValueDictionary<string, string>

the list of attributes