Modifier and Type | Method and Description |
---|---|
IconType<TagFileType<T>> |
createIcon()
Creates a new
icon element |
TldExtensionType<TagFileType<T>> |
createTagExtension()
Creates a new
tag-extension element |
TagFileType<T> |
description(String... values)
Creates for all String objects representing
description elements,
a new description element |
TagFileType<T> |
displayName(String... values)
Creates for all String objects representing
display-name elements,
a new display-name element |
TagFileType<T> |
example(String example)
Sets the
example element |
List<String> |
getAllDescription()
Returns all
description elements |
List<String> |
getAllDisplayName()
Returns all
display-name elements |
List<IconType<TagFileType<T>>> |
getAllIcon()
Returns all
icon elements |
List<TldExtensionType<TagFileType<T>>> |
getAllTagExtension()
Returns all
tag-extension elements |
String |
getExample()
Returns the
example element |
String |
getId()
Returns the
id attribute |
String |
getName()
Returns the
name element |
IconType<TagFileType<T>> |
getOrCreateIcon()
If not already created, a new
icon element will be created and returned. |
TldExtensionType<TagFileType<T>> |
getOrCreateTagExtension()
If not already created, a new
tag-extension element will be created and returned. |
String |
getPath()
Returns the
path element |
TagFileType<T> |
id(String id)
Sets the
id attribute |
TagFileType<T> |
name(String name)
Sets the
name element |
TagFileType<T> |
path(String path)
Sets the
path element |
TagFileType<T> |
removeAllDescription()
Removes the
description element |
TagFileType<T> |
removeAllDisplayName()
Removes the
display-name element |
TagFileType<T> |
removeAllIcon()
Removes all
icon elements |
TagFileType<T> |
removeAllTagExtension()
Removes all
tag-extension elements |
TagFileType<T> |
removeExample()
Removes the
example element |
TagFileType<T> |
removeId()
Removes the
id attribute |
TagFileType<T> |
removeName()
Removes the
name element |
TagFileType<T> |
removePath()
Removes the
path element |
TagFileType<T> description(String... values)
description
elements,
a new description
elementvalues
- list of description
objectsTagFileType
List<String> getAllDescription()
description
elementsdescription
TagFileType<T> removeAllDescription()
description
elementTagFileType
TagFileType<T> displayName(String... values)
display-name
elements,
a new display-name
elementvalues
- list of display-name
objectsTagFileType
List<String> getAllDisplayName()
display-name
elementsdisplay-name
TagFileType<T> removeAllDisplayName()
display-name
elementTagFileType
IconType<TagFileType<T>> getOrCreateIcon()
icon
element will be created and returned.
Otherwise, the first existing icon
element will be returned.icon
IconType<TagFileType<T>> createIcon()
icon
elementIconType>
List<IconType<TagFileType<T>>> getAllIcon()
icon
elementsicon
TagFileType<T> removeAllIcon()
icon
elementsIconType>
TagFileType<T> name(String name)
name
elementname
- the value for the element name
TagFileType
String getName()
name
elementname
TagFileType<T> removeName()
name
elementTagFileType
TagFileType<T> path(String path)
path
elementpath
- the value for the element path
TagFileType
String getPath()
path
elementpath
TagFileType<T> removePath()
path
elementTagFileType
TagFileType<T> example(String example)
example
elementexample
- the value for the element example
TagFileType
String getExample()
example
elementexample
TagFileType<T> removeExample()
example
elementTagFileType
TldExtensionType<TagFileType<T>> getOrCreateTagExtension()
tag-extension
element will be created and returned.
Otherwise, the first existing tag-extension
element will be returned.tag-extension
TldExtensionType<TagFileType<T>> createTagExtension()
tag-extension
elementTldExtensionType>
List<TldExtensionType<TagFileType<T>>> getAllTagExtension()
tag-extension
elementstag-extension
TagFileType<T> removeAllTagExtension()
tag-extension
elementsTldExtensionType>
TagFileType<T> id(String id)
id
attributeid
- the value for the attribute id
TagFileType
String getId()
id
attributeid
TagFileType<T> removeId()
id
attributeTagFileType
Copyright © 2022 JBoss by Red Hat. All rights reserved.