public interface ITag
ICode
or the opening or closing IAnnotation
.Modifier and Type | Method and Description |
---|---|
String |
getId()
Gets the id of this tag.
|
TagType |
getTagType() |
String |
getType()
Gets the type for this tag.
|
boolean |
isCode()
Indicates if this tag corresponds to a code (
ICode ), as opposed to an annotation (IAnnotation ). |
void |
setId(String id)
Sets the id of this tag (and of its corresponding opening/closing tag if needed).
|
void |
setType(String type)
Sets the type for this tag (and of its corresponding opening/closing tag if needed).
|
TagType getTagType()
String getId()
void setId(String id)
id
- the new id value.String getType()
void setType(String type)
type
- the new type to set. The allowed values depends on whether the tag
corresponds to an ICode
or an IAnnotation
.boolean isCode()
ICode
), as opposed to an annotation (IAnnotation
).