pdfHTML 2.1.6 API
iText.Html2pdf.Util.TagProcessorMapping Class Reference

Class that allows to map keys (html tags, css attributes) to the corresponding tag processors (a tag worker or a CSS applier). More...

Public Member Functions

 TagProcessorMapping ()
 Creates a new TagProcessorMapping instance. More...
 
virtual void PutMapping (String tag, Type mappingClass)
 Add a new tag to the map. More...
 
virtual void PutMapping (String tag, String display, Type mappingClass)
 Add a new tag to the map. More...
 
virtual Type GetMapping (String tag)
 Gets the class that maps to a specific tag. More...
 
virtual Type GetMapping (String tag, String display)
 Gets the class that maps to a specific tag. More...
 

Detailed Description

Class that allows to map keys (html tags, css attributes) to the corresponding tag processors (a tag worker or a CSS applier).

Constructor & Destructor Documentation

◆ TagProcessorMapping()

iText.Html2pdf.Util.TagProcessorMapping.TagProcessorMapping ( )
inline

Creates a new TagProcessorMapping instance.

Member Function Documentation

◆ GetMapping() [1/2]

virtual Type iText.Html2pdf.Util.TagProcessorMapping.GetMapping ( String  tag)
inlinevirtual

Gets the class that maps to a specific tag.

Parameters
tagthe key
Returns
the class that maps to the tag

◆ GetMapping() [2/2]

virtual Type iText.Html2pdf.Util.TagProcessorMapping.GetMapping ( String  tag,
String  display 
)
inlinevirtual

Gets the class that maps to a specific tag.

Parameters
tagthe key
displaythe display value
Returns
the class that maps to the tag

◆ PutMapping() [1/2]

virtual void iText.Html2pdf.Util.TagProcessorMapping.PutMapping ( String  tag,
String  display,
Type  mappingClass 
)
inlinevirtual

Add a new tag to the map.

Parameters
tagthe key
displaythe display value
mappingClassthe class that maps to the tag

◆ PutMapping() [2/2]

virtual void iText.Html2pdf.Util.TagProcessorMapping.PutMapping ( String  tag,
Type  mappingClass 
)
inlinevirtual

Add a new tag to the map.

Parameters
tagthe key
mappingClassthe class that maps to the tag