public class BaseZeissReader.Tag extends Object
Constructor and Description |
---|
BaseZeissReader.Tag(int index,
BaseZeissReader.Context context)
Constructor.
|
BaseZeissReader.Tag(int keyid,
String value,
BaseZeissReader.Context context)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getCategory() |
int |
getIndex() |
String |
getKey() |
protected String |
getKey(int tagID)
Return the string corresponding to the given ID.
|
String |
getValue() |
void |
setCategory(int category) |
void |
setIndex(int index) |
void |
setKey(int keyid) |
void |
setValue(String value) |
String |
toString() |
boolean |
valid()
Check if the tag is valid (key, value and category have been set).
|
public BaseZeissReader.Tag(int index, BaseZeissReader.Context context)
index
- the index number of the tag.public BaseZeissReader.Tag(int keyid, String value, BaseZeissReader.Context context)
keyid
- the key number of the tag.value
- the value of the tag.public void setKey(int keyid)
public String getKey()
public void setValue(String value)
public String getValue()
public void setIndex(int index)
public int getIndex()
public void setCategory(int category)
public int getCategory()
public boolean valid()
protected String getKey(int tagID)
Copyright © 2014 Open Microscopy Environment