pdfHTML 5.0.3 API
iText.Html2pdf.Util.TagProcessorMapping< T > Class Template 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, T mapping)
  Add a new tag to the map. More...
 
virtual void  PutMapping (String tag, String display, T mapping)
  Add a new tag to the map. More...
 
virtual Object  GetMapping (String tag)
  Gets the class that maps to a specific tag. More...
 
virtual Object  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()

Member Function Documentation

◆ GetMapping() [1/2]

virtual Object iText.Html2pdf.Util.TagProcessorMapping< T >.GetMapping ( String  tag )
inlinevirtual

Gets the class that maps to a specific tag.

Parameters
tag the key
Returns
the class that maps to the tag

◆ GetMapping() [2/2]

virtual Object iText.Html2pdf.Util.TagProcessorMapping< T >.GetMapping ( String  tag,
String  display 
)
inlinevirtual

Gets the class that maps to a specific tag.

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

◆ PutMapping() [1/2]

virtual void iText.Html2pdf.Util.TagProcessorMapping< T >.PutMapping ( String  tag,
String  display,
mapping 
)
inlinevirtual

Add a new tag to the map.

Parameters
tag the key
display the display value
mapping the class instance that maps to the tag

◆ PutMapping() [2/2]

virtual void iText.Html2pdf.Util.TagProcessorMapping< T >.PutMapping ( String  tag,
mapping 
)
inlinevirtual

Add a new tag to the map.

Parameters
tag the key
mapping the class instance that maps to the tag