public class Annotation extends Object
| Constructor and Description |
|---|
Annotation(String name) |
| Modifier and Type | Method and Description |
|---|---|
static Annotation |
annotation(String name) |
Annotation |
element(Element element) |
Annotation |
element(String value) |
Annotation |
element(String key,
String value) |
boolean |
equals(Object o) |
String |
getElement(String key) |
List<Element> |
getElements() |
String |
getName() |
int |
hashCode() |
void |
setElements(List<Element> elements) |
void |
setName(String name) |
String |
toString() |
public Annotation(String name)
public Annotation element(String key, String value)
public Annotation element(String value)
public String getName()
public void setName(String name)
public Annotation element(Element element)
public static Annotation annotation(String name)
Copyright © 2025 WSO2. All Rights Reserved.