Modifier and Type | Method and Description |
---|---|
TagType<T> |
bodyContent(BodyContentType bodyContent)
Sets the
body-content element |
TagType<T> |
bodyContent(String bodyContent)
Sets the
body-content element |
TldAttributeType<TagType<T>> |
createAttribute()
Creates a new
attribute element |
IconType<TagType<T>> |
createIcon()
Creates a new
icon element |
TldExtensionType<TagType<T>> |
createTagExtension()
Creates a new
tag-extension element |
VariableType<TagType<T>> |
createVariable()
Creates a new
variable element |
TagType<T> |
description(String... values)
Creates for all String objects representing
description elements,
a new description element |
TagType<T> |
displayName(String... values)
Creates for all String objects representing
display-name elements,
a new display-name element |
TagType<T> |
dynamicAttributes(GenericBooleanType dynamicAttributes)
Sets the
dynamic-attributes element |
TagType<T> |
dynamicAttributes(String dynamicAttributes)
Sets the
dynamic-attributes element |
TagType<T> |
example(String example)
Sets the
example element |
List<TldAttributeType<TagType<T>>> |
getAllAttribute()
Returns all
attribute elements |
List<String> |
getAllDescription()
Returns all
description elements |
List<String> |
getAllDisplayName()
Returns all
display-name elements |
List<IconType<TagType<T>>> |
getAllIcon()
Returns all
icon elements |
List<TldExtensionType<TagType<T>>> |
getAllTagExtension()
Returns all
tag-extension elements |
List<VariableType<TagType<T>>> |
getAllVariable()
Returns all
variable elements |
BodyContentType |
getBodyContent()
Returns the
body-content element |
String |
getBodyContentAsString()
Returns the
body-content element |
GenericBooleanType |
getDynamicAttributes()
Returns the
dynamic-attributes element |
String |
getDynamicAttributesAsString()
Returns the
dynamic-attributes element |
String |
getExample()
Returns the
example element |
String |
getId()
Returns the
id attribute |
String |
getName()
Returns the
name element |
TldAttributeType<TagType<T>> |
getOrCreateAttribute()
If not already created, a new
attribute element will be created and returned. |
IconType<TagType<T>> |
getOrCreateIcon()
If not already created, a new
icon element will be created and returned. |
TldExtensionType<TagType<T>> |
getOrCreateTagExtension()
If not already created, a new
tag-extension element will be created and returned. |
VariableType<TagType<T>> |
getOrCreateVariable()
If not already created, a new
variable element will be created and returned. |
String |
getTagClass()
Returns the
tag-class element |
String |
getTeiClass()
Returns the
tei-class element |
TagType<T> |
id(String id)
Sets the
id attribute |
TagType<T> |
name(String name)
Sets the
name element |
TagType<T> |
removeAllAttribute()
Removes all
attribute elements |
TagType<T> |
removeAllDescription()
Removes the
description element |
TagType<T> |
removeAllDisplayName()
Removes the
display-name element |
TagType<T> |
removeAllIcon()
Removes all
icon elements |
TagType<T> |
removeAllTagExtension()
Removes all
tag-extension elements |
TagType<T> |
removeAllVariable()
Removes all
variable elements |
TagType<T> |
removeBodyContent()
Removes the
body-content attribute |
TagType<T> |
removeDynamicAttributes()
Removes the
dynamic-attributes attribute |
TagType<T> |
removeExample()
Removes the
example element |
TagType<T> |
removeId()
Removes the
id attribute |
TagType<T> |
removeName()
Removes the
name element |
TagType<T> |
removeTagClass()
Removes the
tag-class element |
TagType<T> |
removeTeiClass()
Removes the
tei-class element |
TagType<T> |
tagClass(String tagClass)
Sets the
tag-class element |
TagType<T> |
teiClass(String teiClass)
Sets the
tei-class element |
TagType<T> description(String... values)
description
elements,
a new description
elementvalues
- list of description
objectsTagType
List<String> getAllDescription()
description
elementsdescription
TagType<T> removeAllDescription()
description
elementTagType
TagType<T> displayName(String... values)
display-name
elements,
a new display-name
elementvalues
- list of display-name
objectsTagType
List<String> getAllDisplayName()
display-name
elementsdisplay-name
TagType<T> removeAllDisplayName()
display-name
elementTagType
IconType<TagType<T>> getOrCreateIcon()
icon
element will be created and returned.
Otherwise, the first existing icon
element will be returned.icon
IconType<TagType<T>> createIcon()
icon
elementIconType>
TagType<T> removeAllIcon()
icon
elementsIconType>
TagType<T> name(String name)
name
elementname
- the value for the element name
TagType
String getName()
name
elementname
TagType<T> removeName()
name
elementTagType
TagType<T> tagClass(String tagClass)
tag-class
elementtagClass
- the value for the element tag-class
TagType
String getTagClass()
tag-class
elementtag-class
TagType<T> removeTagClass()
tag-class
elementTagType
TagType<T> teiClass(String teiClass)
tei-class
elementteiClass
- the value for the element tei-class
TagType
String getTeiClass()
tei-class
elementtei-class
TagType<T> removeTeiClass()
tei-class
elementTagType
TagType<T> bodyContent(BodyContentType bodyContent)
body-content
elementbodyContent
- the value for the element body-content
TagType
TagType<T> bodyContent(String bodyContent)
body-content
elementbodyContent
- the value for the element body-content
TagType
BodyContentType getBodyContent()
body-content
elementbody-content
String getBodyContentAsString()
body-content
elementbody-content
TagType<T> removeBodyContent()
body-content
attributeTagType
VariableType<TagType<T>> getOrCreateVariable()
variable
element will be created and returned.
Otherwise, the first existing variable
element will be returned.variable
VariableType<TagType<T>> createVariable()
variable
elementVariableType>
List<VariableType<TagType<T>>> getAllVariable()
variable
elementsvariable
TagType<T> removeAllVariable()
variable
elementsVariableType>
TldAttributeType<TagType<T>> getOrCreateAttribute()
attribute
element will be created and returned.
Otherwise, the first existing attribute
element will be returned.attribute
TldAttributeType<TagType<T>> createAttribute()
attribute
elementTldAttributeType>
List<TldAttributeType<TagType<T>>> getAllAttribute()
attribute
elementsattribute
TagType<T> removeAllAttribute()
attribute
elementsTldAttributeType>
TagType<T> dynamicAttributes(GenericBooleanType dynamicAttributes)
dynamic-attributes
elementdynamicAttributes
- the value for the element dynamic-attributes
TagType
TagType<T> dynamicAttributes(String dynamicAttributes)
dynamic-attributes
elementdynamicAttributes
- the value for the element dynamic-attributes
TagType
GenericBooleanType getDynamicAttributes()
dynamic-attributes
elementdynamic-attributes
String getDynamicAttributesAsString()
dynamic-attributes
elementdynamic-attributes
TagType<T> removeDynamicAttributes()
dynamic-attributes
attributeTagType
TagType<T> example(String example)
example
elementexample
- the value for the element example
TagType
String getExample()
example
elementexample
TagType<T> removeExample()
example
elementTagType
TldExtensionType<TagType<T>> getOrCreateTagExtension()
tag-extension
element will be created and returned.
Otherwise, the first existing tag-extension
element will be returned.tag-extension
TldExtensionType<TagType<T>> createTagExtension()
tag-extension
elementTldExtensionType>
List<TldExtensionType<TagType<T>>> getAllTagExtension()
tag-extension
elementstag-extension
TagType<T> removeAllTagExtension()
tag-extension
elementsTldExtensionType>
TagType<T> id(String id)
id
attributeid
- the value for the attribute id
TagType
String getId()
id
attributeid
Copyright © 2020 JBoss by Red Hat. All rights reserved.