public abstract class TagActionMap extends java.util.HashMap<java.lang.String,TagAction>
TagAction
s that are to be used for the
HTML parsing process.DefaultTagActionMap
,
Serialized FormConstructor and Description |
---|
TagActionMap() |
Modifier and Type | Method and Description |
---|---|
protected void |
addTagAction(java.lang.String tag,
TagAction action)
Adds a particular
TagAction for a given tag. |
protected void |
setTagAction(java.lang.String tag,
TagAction action)
Sets a particular
TagAction for a given 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
protected void setTagAction(java.lang.String tag, TagAction action)
TagAction
for a given tag. Any existing TagAction for that tag
will be removed and overwritten.tag
- The tag (will be stored internally 1. as it is, 2. lower-case, 3. upper-case)action
- The TagAction
protected void addTagAction(java.lang.String tag, TagAction action)
TagAction
for a given tag. If a TagAction already exists for that tag,
a chained action, consisting of the previous and the new TagAction
is created.tag
- The tag (will be stored internally 1. as it is, 2. lower-case, 3. upper-case)action
- The TagAction