ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.facesconfig20
Interface FacesConfigAttributeType<T>

All Superinterfaces:
Child<T>

public interface FacesConfigAttributeType<T>
extends Child<T>

This interface defines the contract for the faces-config-attributeType xsd type

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

Method Summary
 FacesConfigAttributeType<T> attributeClass(String attributeClass)
          Sets the attribute-class element
 FacesConfigAttributeType<T> attributeExtension()
          Sets the attribute-extension element
 FacesConfigAttributeType<T> attributeName(String attributeName)
          Sets the attribute-name element
 IconType<FacesConfigAttributeType<T>> createIcon()
          Creates a new icon element
 FacesConfigAttributeType<T> defaultValue(String defaultValue)
          Sets the default-value element
 FacesConfigAttributeType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 FacesConfigAttributeType<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<FacesConfigAttributeType<T>>> getAllIcon()
          Returns all icon elements
 String getAttributeClass()
          Returns the attribute-class element
 String getAttributeName()
          Returns the attribute-name element
 String getDefaultValue()
          Returns the default-value element
 IconType<FacesConfigAttributeType<T>> getOrCreateIcon()
          If not already created, a new icon element will be created and returned.
 String getSuggestedValue()
          Returns the suggested-value element
 Boolean isAttributeExtension()
          Removes the attribute-extension element
 FacesConfigAttributeType<T> removeAllDescription()
          Removes the description element
 FacesConfigAttributeType<T> removeAllDisplayName()
          Removes the display-name element
 FacesConfigAttributeType<T> removeAllIcon()
          Removes all icon elements
 FacesConfigAttributeType<T> removeAttributeClass()
          Removes the attribute-class element
 FacesConfigAttributeType<T> removeAttributeExtension()
          Removes the attribute-extension element
 FacesConfigAttributeType<T> removeAttributeName()
          Removes the attribute-name element
 FacesConfigAttributeType<T> removeDefaultValue()
          Removes the default-value element
 FacesConfigAttributeType<T> removeSuggestedValue()
          Removes the suggested-value element
 FacesConfigAttributeType<T> suggestedValue(String suggestedValue)
          Sets the suggested-value element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

FacesConfigAttributeType<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 FacesConfigAttributeType

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

FacesConfigAttributeType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of FacesConfigAttributeType

displayName

FacesConfigAttributeType<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 FacesConfigAttributeType

getAllDisplayName

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

Returns:
list of display-name

removeAllDisplayName

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

Returns:
the current instance of FacesConfigAttributeType

getOrCreateIcon

IconType<FacesConfigAttributeType<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<FacesConfigAttributeType<T>> createIcon()
Creates a new icon element

Returns:
the new created instance of IconType>

getAllIcon

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

Returns:
list of icon

removeAllIcon

FacesConfigAttributeType<T> removeAllIcon()
Removes all icon elements

Returns:
the current instance of IconType>

attributeName

FacesConfigAttributeType<T> attributeName(String attributeName)
Sets the attribute-name element

Parameters:
attributeName - the value for the element attribute-name
Returns:
the current instance of FacesConfigAttributeType

getAttributeName

String getAttributeName()
Returns the attribute-name element

Returns:
the node defined for the element attribute-name

removeAttributeName

FacesConfigAttributeType<T> removeAttributeName()
Removes the attribute-name element

Returns:
the current instance of FacesConfigAttributeType

attributeClass

FacesConfigAttributeType<T> attributeClass(String attributeClass)
Sets the attribute-class element

Parameters:
attributeClass - the value for the element attribute-class
Returns:
the current instance of FacesConfigAttributeType

getAttributeClass

String getAttributeClass()
Returns the attribute-class element

Returns:
the node defined for the element attribute-class

removeAttributeClass

FacesConfigAttributeType<T> removeAttributeClass()
Removes the attribute-class element

Returns:
the current instance of FacesConfigAttributeType

defaultValue

FacesConfigAttributeType<T> defaultValue(String defaultValue)
Sets the default-value element

Parameters:
defaultValue - the value for the element default-value
Returns:
the current instance of FacesConfigAttributeType

getDefaultValue

String getDefaultValue()
Returns the default-value element

Returns:
the node defined for the element default-value

removeDefaultValue

FacesConfigAttributeType<T> removeDefaultValue()
Removes the default-value element

Returns:
the current instance of FacesConfigAttributeType

suggestedValue

FacesConfigAttributeType<T> suggestedValue(String suggestedValue)
Sets the suggested-value element

Parameters:
suggestedValue - the value for the element suggested-value
Returns:
the current instance of FacesConfigAttributeType

getSuggestedValue

String getSuggestedValue()
Returns the suggested-value element

Returns:
the node defined for the element suggested-value

removeSuggestedValue

FacesConfigAttributeType<T> removeSuggestedValue()
Removes the suggested-value element

Returns:
the current instance of FacesConfigAttributeType

attributeExtension

FacesConfigAttributeType<T> attributeExtension()
Sets the attribute-extension element

Returns:
the current instance of FacesConfigAttributeType

isAttributeExtension

Boolean isAttributeExtension()
Removes the attribute-extension element

Returns:
the current instance of FacesConfigAttributeType

removeAttributeExtension

FacesConfigAttributeType<T> removeAttributeExtension()
Removes the attribute-extension element

Returns:
the current instance of FacesConfigAttributeType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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