public class HtmlTagMap extends HashMap<String,HtmlPeer>
Tags
-class maps several XHTML-tags to iText-objects.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
HtmlTagMap()
Constructs an HtmlTagMap.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
isBody(String tag)
Checks if this is the root tag.
|
static boolean |
isHead(String tag)
Checks if this is the head tag.
|
static boolean |
isHtml(String tag)
Checks if this is the root tag.
|
static boolean |
isLink(String tag)
Checks if this is the link tag.
|
static boolean |
isMeta(String tag)
Checks if this is the meta tag.
|
static boolean |
isSpecialTag(String tag)
Checks if this is a special tag.
|
static boolean |
isTitle(String tag)
Checks if this is the title tag.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
public static boolean isHtml(String tag)
tag
- a tagvaluepublic static boolean isHead(String tag)
tag
- a tagvaluepublic static boolean isMeta(String tag)
tag
- a tagvaluepublic static boolean isLink(String tag)
tag
- a tagvaluepublic static boolean isTitle(String tag)
tag
- a tagvaluepublic static boolean isBody(String tag)
tag
- a tagvaluepublic static boolean isSpecialTag(String tag)
tag
- a tagvalueCopyright © 2020. All rights reserved.