public class DefaultTagProvider extends HashMap<String,TagInfo> implements ITagInfoProvider
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
DefaultTagProvider() |
Modifier and Type | Method and Description |
---|---|
void |
addTagInfo(TagInfo tagInfo)
Sets new tag info.
|
static DefaultTagProvider |
getInstance() |
TagInfo |
getTagInfo(String tagName) |
void |
removeTagInfo(String tagName)
Removes tag info with specified name.
|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
equals, hashCode, toString
public static DefaultTagProvider getInstance()
public TagInfo getTagInfo(String tagName)
getTagInfo
in interface ITagInfoProvider
public void removeTagInfo(String tagName)
tagName
- Name of the tag to be removed from the tag provider.public void addTagInfo(TagInfo tagInfo)
tagInfo
- tag info to be added to the provider.Copyright © 2006–2014. All rights reserved.