public class TagSet extends Object
Modifier and Type | Field and Description |
---|---|
protected Tag |
defaultTag
The default tag handler.
|
protected Map<Integer,Tag> |
tags
This holds the individual tags.
|
Constructor and Description |
---|
TagSet()
Creates a Tag Set.
|
Modifier and Type | Method and Description |
---|---|
void |
addTag(Tag tag)
Add a new tag to this set.
|
boolean |
exists(int tagID)
Finds out if Tag for TagID exists.
|
Tag |
get(int tagID)
Find tag for tagID.
|
protected Tag defaultTag
public void addTag(Tag tag)
tag
- tag to be added to setpublic Tag get(int tagID)
tagID
- tagID to findpublic boolean exists(int tagID)
tagID
- tagID to findCopyright © 2016. All rights reserved.