ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.facelettaglibrary20
Interface FaceletTaglibTagAttributeType<T>

All Superinterfaces:
Child<T>

public interface FaceletTaglibTagAttributeType<T>
extends Child<T>

This interface defines the contract for the facelet-taglib-tag-attributeType xsd type

Since:
Generation date :2012-05-09T23:45:03.702-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 IconType<FaceletTaglibTagAttributeType<T>> createIcon()
          Creates a new icon element
 FaceletTaglibTagAttributeType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 FaceletTaglibTagAttributeType<T> displayName(String... values)
          Creates for all String objects representing display-name elements, a new display-name element
 List<String> getAllDescription()
          Returns all description elements
 List<String> getAllDisplayName()
          Returns all display-name elements
 List<IconType<FaceletTaglibTagAttributeType<T>>> getAllIcon()
          Returns all icon elements
 String getName()
          Returns the name element
 IconType<FaceletTaglibTagAttributeType<T>> getOrCreateIcon()
          If not already created, a new icon element will be created and returned.
 GenericBooleanType getRequired()
          Returns the required element
 String getRequiredAsString()
          Returns the required element
 String getType()
          Returns the type element
 FaceletTaglibTagAttributeType<T> name(String name)
          Sets the name element
 FaceletTaglibTagAttributeType<T> removeAllDescription()
          Removes the description element
 FaceletTaglibTagAttributeType<T> removeAllDisplayName()
          Removes the display-name element
 FaceletTaglibTagAttributeType<T> removeAllIcon()
          Removes all icon elements
 FaceletTaglibTagAttributeType<T> removeName()
          Removes the name element
 FaceletTaglibTagAttributeType<T> removeRequired()
          Removes the required attribute
 FaceletTaglibTagAttributeType<T> removeType()
          Removes the type element
 FaceletTaglibTagAttributeType<T> required(GenericBooleanType required)
          Sets the required element
 FaceletTaglibTagAttributeType<T> required(String required)
          Sets the required element
 FaceletTaglibTagAttributeType<T> type(String type)
          Sets the type element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

FaceletTaglibTagAttributeType<T> description(String... values)
Creates for all String objects representing description elements, a new description element

Parameters:
values - list of description objects
Returns:
the current instance of FaceletTaglibTagAttributeType

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

FaceletTaglibTagAttributeType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of FaceletTaglibTagAttributeType

displayName

FaceletTaglibTagAttributeType<T> displayName(String... values)
Creates for all String objects representing display-name elements, a new display-name element

Parameters:
values - list of display-name objects
Returns:
the current instance of FaceletTaglibTagAttributeType

getAllDisplayName

List<String> getAllDisplayName()
Returns all display-name elements

Returns:
list of display-name

removeAllDisplayName

FaceletTaglibTagAttributeType<T> removeAllDisplayName()
Removes the display-name element

Returns:
the current instance of FaceletTaglibTagAttributeType

getOrCreateIcon

IconType<FaceletTaglibTagAttributeType<T>> getOrCreateIcon()
If not already created, a new icon element will be created and returned. Otherwise, the first existing icon element will be returned.

Returns:
the instance defined for the element icon

createIcon

IconType<FaceletTaglibTagAttributeType<T>> createIcon()
Creates a new icon element

Returns:
the new created instance of IconType>

getAllIcon

List<IconType<FaceletTaglibTagAttributeType<T>>> getAllIcon()
Returns all icon elements

Returns:
list of icon

removeAllIcon

FaceletTaglibTagAttributeType<T> removeAllIcon()
Removes all icon elements

Returns:
the current instance of IconType>

name

FaceletTaglibTagAttributeType<T> name(String name)
Sets the name element

Parameters:
name - the value for the element name
Returns:
the current instance of FaceletTaglibTagAttributeType

getName

String getName()
Returns the name element

Returns:
the node defined for the element name

removeName

FaceletTaglibTagAttributeType<T> removeName()
Removes the name element

Returns:
the current instance of FaceletTaglibTagAttributeType

required

FaceletTaglibTagAttributeType<T> required(GenericBooleanType required)
Sets the required element

Parameters:
required - the value for the element required
Returns:
the current instance of FaceletTaglibTagAttributeType

required

FaceletTaglibTagAttributeType<T> required(String required)
Sets the required element

Parameters:
required - the value for the element required
Returns:
the current instance of FaceletTaglibTagAttributeType

getRequired

GenericBooleanType getRequired()
Returns the required element

Returns:
the value found for the element required

getRequiredAsString

String getRequiredAsString()
Returns the required element

Returns:
the value found for the element required

removeRequired

FaceletTaglibTagAttributeType<T> removeRequired()
Removes the required attribute

Returns:
the current instance of FaceletTaglibTagAttributeType

type

FaceletTaglibTagAttributeType<T> type(String type)
Sets the type element

Parameters:
type - the value for the element type
Returns:
the current instance of FaceletTaglibTagAttributeType

getType

String getType()
Returns the type element

Returns:
the node defined for the element type

removeType

FaceletTaglibTagAttributeType<T> removeType()
Removes the type element

Returns:
the current instance of FaceletTaglibTagAttributeType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.