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