public class AnnotationElement extends Object implements EdmAnnotationElement
Constructor and Description |
---|
AnnotationElement() |
Modifier and Type | Method and Description |
---|---|
List<AnnotationAttribute> |
getAttributes()
Get the attributes of this custom element
|
List<AnnotationElement> |
getChildElements()
Get the child elements of the custom element
|
String |
getName()
Get the name of the custom element
|
String |
getNamespace()
Get the namespace of the custom element
|
String |
getPrefix()
Get the prefix of the custom element
|
String |
getText()
Get the XML data of the custom element
|
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()
EdmAnnotationElement
getNamespace
in interface EdmAnnotationElement
public String getPrefix()
EdmAnnotationElement
getPrefix
in interface EdmAnnotationElement
public String getName()
EdmAnnotationElement
getName
in interface EdmAnnotationElement
public String getText()
EdmAnnotationElement
getText
in interface EdmAnnotationElement
public List<AnnotationElement> getChildElements()
EdmAnnotationElement
getChildElements
in interface EdmAnnotationElement
EdmAnnotationElement
public List<AnnotationAttribute> getAttributes()
EdmAnnotationElement
getAttributes
in interface EdmAnnotationElement
EdmAnnotationElement
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 The Apache Software Foundation. All Rights Reserved.