public class AnnotationElement extends Object
Constructor and Description |
---|
AnnotationElement() |
Modifier and Type | Method and Description |
---|---|
List<AnnotationAttribute> |
getAttributes() |
List<AnnotationElement> |
getChildElements() |
String |
getName() |
String |
getNamespace() |
String |
getPrefix() |
String |
getText() |
AnnotationElement |
setAttributes(List<AnnotationAttribute> attributes)
Sets the attributes for this
AnnotationElement . |
AnnotationElement |
setChildElements(List<AnnotationElement> childElements)
Sets the child elements for this
AnnotationElement . |
AnnotationElement |
setName(String name)
Sets the name for this
AnnotationElement . |
AnnotationElement |
setNamespace(String namespace)
Sets the namespace for this
AnnotationElement . |
AnnotationElement |
setPrefix(String prefix)
Sets the prefix for this
AnnotationElement . |
AnnotationElement |
setText(String text)
Sets the text for this
AnnotationElement which will be displayed inside the tags. |
public String getNamespace()
public String getPrefix()
public String getName()
public String getText()
public List<AnnotationElement> getChildElements()
public List<AnnotationAttribute> getAttributes()
public AnnotationElement setAttributes(List<AnnotationAttribute> attributes)
AnnotationElement
.attributes
- AnnotationElement
for method chainingpublic AnnotationElement setChildElements(List<AnnotationElement> childElements)
AnnotationElement
.
Does not set child elements and characterData for one element.childElements
- AnnotationElement
for method chainingpublic AnnotationElement setNamespace(String namespace)
AnnotationElement
.namespace
- AnnotationElement
for method chainingpublic AnnotationElement setPrefix(String prefix)
AnnotationElement
.prefix
- AnnotationElement
for method chainingpublic AnnotationElement setName(String name)
AnnotationElement
.name
- AnnotationElement
for method chainingpublic AnnotationElement setText(String text)
AnnotationElement
which will be displayed inside the tags.
Must NOT be set if child elements are set!text
- AnnotationElement
for method chainingCopyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.