Constructor and Description |
---|
AnnotationTag(String type) |
AnnotationTag(String type,
Collection<AnnotationElem> elements) |
AnnotationTag(String type,
int numElem)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addElem(AnnotationElem elem)
Adds one element to the list
|
Collection<AnnotationElem> |
getElems() |
String |
getInfo() |
String |
getName()
Returns the tag name.
|
String |
getType() |
byte[] |
getValue()
Returns the tag raw data.
|
void |
setElems(List<AnnotationElem> list)
Overwrites the elements stored previously
|
String |
toString() |
public AnnotationTag(String type)
public AnnotationTag(String type, Collection<AnnotationElem> elements)
@Deprecated public AnnotationTag(String type, int numElem)
public String getInfo()
public String getType()
public void addElem(AnnotationElem elem)
elem
- the elementpublic void setElems(List<AnnotationElem> list)
list
- the new list of elementspublic Collection<AnnotationElem> getElems()