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 key
mappingClass
- the class that maps to the tag
public void putMapping(String tag, String display, Class<?> mappingClass)
tag
- the key
display
- the display value
mappingClass
- the class that maps to the tag
public Class<?> getMapping(String tag)
tag
- the key
Copyright © 1998–2019 iText Group NV. All rights reserved.