public class TagProcessorMapping extends Object
| Constructor and Description |
|---|
TagProcessorMapping()
Creates a new
TagProcessorMapping instance. |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getMapping(String tag)
Gets the class that maps to a specific tag.
|
Class<?> |
getMapping(String tag,
String display)
Gets the class that maps to a specific tag.
|
void |
putMapping(String tag,
Class<?> mappingClass)
Add a new tag to the map.
|
void |
putMapping(String tag,
String display,
Class<?> mappingClass)
Add a new tag to the map.
|
public TagProcessorMapping()
TagProcessorMapping instance.public void putMapping(String tag, Class<?> mappingClass)
tag - the keymappingClass - the class that maps to the tagpublic void putMapping(String tag, String display, Class<?> mappingClass)
tag - the keydisplay - the display valuemappingClass - the class that maps to the tagpublic Class<?> getMapping(String tag)
tag - the keyCopyright © 1998–2020 iText Group NV. All rights reserved.