|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.freehep.util.io.TagSet
public class TagSet
Class to keep registered Tags, which should be used by the TaggedIn/OutputStream. A set of recognized Tags can be added to this class. A concrete implementation of this stream should install all allowed tags.
Field Summary | |
---|---|
protected Tag |
defaultTag
The default tag handler. |
protected Map |
tags
This holds the individual tags. |
Constructor Summary | |
---|---|
TagSet()
Creates a Tag Set. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Map tags
protected Tag defaultTag
Constructor Detail |
---|
public TagSet()
Method Detail |
---|
public void addTag(Tag tag)
tag
- tag to be added to setpublic Tag get(int tagID)
tagID
- tagID to find
public boolean exists(int tagID)
tagID
- tagID to find
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |