
public interface ElementType<T> extends Child<T>, MapElementCommonType<T,ElementType<T>,AnnotationType<ElementType<T>>>
elementType xsd type| Modifier and Type | Method and Description |
|---|---|
AnnotationType<ElementType<T>> |
createAnnotation()
Creates a new
annotation element |
List<AnnotationType<ElementType<T>>> |
getAllAnnotation()
Returns all
annotation elements |
List<String> |
getAllValue()
Returns all
value elements |
String |
getName()
Returns the
name attribute |
AnnotationType<ElementType<T>> |
getOrCreateAnnotation()
If not already created, a new
annotation element will be created and returned. |
String |
getText()
Returns the body text of the element
elementType |
ElementType<T> |
name(String name)
Sets the
name attribute |
ElementType<T> |
removeAllAnnotation()
Removes all
annotation elements |
ElementType<T> |
removeAllValue()
Removes the
value element |
ElementType<T> |
removeName()
Removes the
name attribute |
ElementType<T> |
text(String value)
Sets the body text for the element
elementType |
ElementType<T> |
value(String... values)
Creates for all String objects representing
value elements,
a new value element |
ElementType<T> text(String value)
elementTypeelementType - the value for the body text elementTypeElementTypeString getText()
elementTypeelementTypeElementType<T> value(String... values)
value elements,
a new value elementvalues - list of value objectsElementTypeElementType<T> removeAllValue()
value elementElementTypeAnnotationType<ElementType<T>> getOrCreateAnnotation()
annotation element will be created and returned.
Otherwise, the first existing annotation element will be returned.annotationAnnotationType<ElementType<T>> createAnnotation()
annotation elementAnnotationType> List<AnnotationType<ElementType<T>>> getAllAnnotation()
annotation elementsannotationElementType<T> removeAllAnnotation()
annotation elementsAnnotationType> ElementType<T> name(String name)
name attributename - the value for the attribute nameElementTypeString getName()
name attributenameElementType<T> removeName()
name attributeElementTypeCopyright © 2025 JBoss by Red Hat. All rights reserved.