public abstract class TagActionMap extends HashMap<String,TagAction>
TagActions that are to be used for the
HTML parsing process.DefaultTagActionMap,
Serialized FormAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
TagActionMap() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addTagAction(String tag,
TagAction action)
Adds a particular
TagAction for a given tag. |
protected void |
setTagAction(String tag,
TagAction action)
Sets a particular
TagAction for a given tag. |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCode, toStringprotected void setTagAction(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 TagActionprotected void addTagAction(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 TagActionCopyright © 2013-2014. All Rights Reserved.