|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TagType<T>
This interface defines the contract for the tagType
xsd type
Method Summary | |
---|---|
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 |
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> |
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> |
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 |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
TagType<T> description(String... values)
description
elements,
a new description
element
values
- list of description
objects
TagType
List<String> getAllDescription()
description
elements
description
TagType<T> removeAllDescription()
description
element
TagType
TagType<T> displayName(String... values)
display-name
elements,
a new display-name
element
values
- list of display-name
objects
TagType
List<String> getAllDisplayName()
display-name
elements
display-name
TagType<T> removeAllDisplayName()
display-name
element
TagType
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
element
IconType>
List<IconType<TagType<T>>> getAllIcon()
icon
elements
icon
TagType<T> removeAllIcon()
icon
elements
IconType>
TagType<T> name(String name)
name
element
name
- the value for the element name
TagType
String getName()
name
element
name
TagType<T> removeName()
name
element
TagType
TagType<T> tagClass(String tagClass)
tag-class
element
tagClass
- the value for the element tag-class
TagType
String getTagClass()
tag-class
element
tag-class
TagType<T> removeTagClass()
tag-class
element
TagType
TagType<T> teiClass(String teiClass)
tei-class
element
teiClass
- the value for the element tei-class
TagType
String getTeiClass()
tei-class
element
tei-class
TagType<T> removeTeiClass()
tei-class
element
TagType
TagType<T> bodyContent(BodyContentType bodyContent)
body-content
element
bodyContent
- the value for the element body-content
TagType
TagType<T> bodyContent(String bodyContent)
body-content
element
bodyContent
- the value for the element body-content
TagType
BodyContentType getBodyContent()
body-content
element
body-content
String getBodyContentAsString()
body-content
element
body-content
TagType<T> removeBodyContent()
body-content
attribute
TagType
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
element
VariableType>
List<VariableType<TagType<T>>> getAllVariable()
variable
elements
variable
TagType<T> removeAllVariable()
variable
elements
VariableType>
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
element
TldAttributeType>
List<TldAttributeType<TagType<T>>> getAllAttribute()
attribute
elements
attribute
TagType<T> removeAllAttribute()
attribute
elements
TldAttributeType>
TagType<T> dynamicAttributes(GenericBooleanType dynamicAttributes)
dynamic-attributes
element
dynamicAttributes
- the value for the element dynamic-attributes
TagType
TagType<T> dynamicAttributes(String dynamicAttributes)
dynamic-attributes
element
dynamicAttributes
- the value for the element dynamic-attributes
TagType
GenericBooleanType getDynamicAttributes()
dynamic-attributes
element
dynamic-attributes
String getDynamicAttributesAsString()
dynamic-attributes
element
dynamic-attributes
TagType<T> removeDynamicAttributes()
dynamic-attributes
attribute
TagType
TagType<T> example(String example)
example
element
example
- the value for the element example
TagType
String getExample()
example
element
example
TagType<T> removeExample()
example
element
TagType
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
element
TldExtensionType>
List<TldExtensionType<TagType<T>>> getAllTagExtension()
tag-extension
elements
tag-extension
TagType<T> removeAllTagExtension()
tag-extension
elements
TldExtensionType>
|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |