ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.facesconfig21
Interface FacesConfigComponentType<T>

All Superinterfaces:
Child<T>

public interface FacesConfigComponentType<T>
extends Child<T>

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

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

Method Summary
 FacesConfigComponentType<T> componentClass(String componentClass)
          Sets the component-class element
 FacesConfigComponentType<T> componentExtension()
          Sets the component-extension element
 FacesConfigComponentType<T> componentType(String componentType)
          Sets the component-type element
 FacesConfigAttributeType<FacesConfigComponentType<T>> createAttribute()
          Creates a new attribute element
 FacesConfigFacetType<FacesConfigComponentType<T>> createFacet()
          Creates a new facet element
 IconType<FacesConfigComponentType<T>> createIcon()
          Creates a new icon element
 FacesConfigPropertyType<FacesConfigComponentType<T>> createProperty()
          Creates a new property element
 FacesConfigComponentType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 FacesConfigComponentType<T> displayName(String... values)
          Creates for all String objects representing display-name elements, a new display-name element
 List<FacesConfigAttributeType<FacesConfigComponentType<T>>> getAllAttribute()
          Returns all attribute elements
 List<String> getAllDescription()
          Returns all description elements
 List<String> getAllDisplayName()
          Returns all display-name elements
 List<FacesConfigFacetType<FacesConfigComponentType<T>>> getAllFacet()
          Returns all facet elements
 List<IconType<FacesConfigComponentType<T>>> getAllIcon()
          Returns all icon elements
 List<FacesConfigPropertyType<FacesConfigComponentType<T>>> getAllProperty()
          Returns all property elements
 String getComponentClass()
          Returns the component-class element
 String getComponentType()
          Returns the component-type element
 FacesConfigAttributeType<FacesConfigComponentType<T>> getOrCreateAttribute()
          If not already created, a new attribute element will be created and returned.
 FacesConfigFacetType<FacesConfigComponentType<T>> getOrCreateFacet()
          If not already created, a new facet element will be created and returned.
 IconType<FacesConfigComponentType<T>> getOrCreateIcon()
          If not already created, a new icon element will be created and returned.
 FacesConfigPropertyType<FacesConfigComponentType<T>> getOrCreateProperty()
          If not already created, a new property element will be created and returned.
 Boolean isComponentExtension()
          Removes the component-extension element
 FacesConfigComponentType<T> removeAllAttribute()
          Removes all attribute elements
 FacesConfigComponentType<T> removeAllDescription()
          Removes the description element
 FacesConfigComponentType<T> removeAllDisplayName()
          Removes the display-name element
 FacesConfigComponentType<T> removeAllFacet()
          Removes all facet elements
 FacesConfigComponentType<T> removeAllIcon()
          Removes all icon elements
 FacesConfigComponentType<T> removeAllProperty()
          Removes all property elements
 FacesConfigComponentType<T> removeComponentClass()
          Removes the component-class element
 FacesConfigComponentType<T> removeComponentExtension()
          Removes the component-extension element
 FacesConfigComponentType<T> removeComponentType()
          Removes the component-type element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

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

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

FacesConfigComponentType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of FacesConfigComponentType

displayName

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

getAllDisplayName

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

Returns:
list of display-name

removeAllDisplayName

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

Returns:
the current instance of FacesConfigComponentType

getOrCreateIcon

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

Returns:
the new created instance of IconType>

getAllIcon

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

Returns:
list of icon

removeAllIcon

FacesConfigComponentType<T> removeAllIcon()
Removes all icon elements

Returns:
the current instance of IconType>

componentType

FacesConfigComponentType<T> componentType(String componentType)
Sets the component-type element

Parameters:
componentType - the value for the element component-type
Returns:
the current instance of FacesConfigComponentType

getComponentType

String getComponentType()
Returns the component-type element

Returns:
the node defined for the element component-type

removeComponentType

FacesConfigComponentType<T> removeComponentType()
Removes the component-type element

Returns:
the current instance of FacesConfigComponentType

componentClass

FacesConfigComponentType<T> componentClass(String componentClass)
Sets the component-class element

Parameters:
componentClass - the value for the element component-class
Returns:
the current instance of FacesConfigComponentType

getComponentClass

String getComponentClass()
Returns the component-class element

Returns:
the node defined for the element component-class

removeComponentClass

FacesConfigComponentType<T> removeComponentClass()
Removes the component-class element

Returns:
the current instance of FacesConfigComponentType

getOrCreateFacet

FacesConfigFacetType<FacesConfigComponentType<T>> getOrCreateFacet()
If not already created, a new facet element will be created and returned. Otherwise, the first existing facet element will be returned.

Returns:
the instance defined for the element facet

createFacet

FacesConfigFacetType<FacesConfigComponentType<T>> createFacet()
Creates a new facet element

Returns:
the new created instance of FacesConfigFacetType>

getAllFacet

List<FacesConfigFacetType<FacesConfigComponentType<T>>> getAllFacet()
Returns all facet elements

Returns:
list of facet

removeAllFacet

FacesConfigComponentType<T> removeAllFacet()
Removes all facet elements

Returns:
the current instance of FacesConfigFacetType>

getOrCreateAttribute

FacesConfigAttributeType<FacesConfigComponentType<T>> getOrCreateAttribute()
If not already created, a new attribute element will be created and returned. Otherwise, the first existing attribute element will be returned.

Returns:
the instance defined for the element attribute

createAttribute

FacesConfigAttributeType<FacesConfigComponentType<T>> createAttribute()
Creates a new attribute element

Returns:
the new created instance of FacesConfigAttributeType>

getAllAttribute

List<FacesConfigAttributeType<FacesConfigComponentType<T>>> getAllAttribute()
Returns all attribute elements

Returns:
list of attribute

removeAllAttribute

FacesConfigComponentType<T> removeAllAttribute()
Removes all attribute elements

Returns:
the current instance of FacesConfigAttributeType>

getOrCreateProperty

FacesConfigPropertyType<FacesConfigComponentType<T>> getOrCreateProperty()
If not already created, a new property element will be created and returned. Otherwise, the first existing property element will be returned.

Returns:
the instance defined for the element property

createProperty

FacesConfigPropertyType<FacesConfigComponentType<T>> createProperty()
Creates a new property element

Returns:
the new created instance of FacesConfigPropertyType>

getAllProperty

List<FacesConfigPropertyType<FacesConfigComponentType<T>>> getAllProperty()
Returns all property elements

Returns:
list of property

removeAllProperty

FacesConfigComponentType<T> removeAllProperty()
Removes all property elements

Returns:
the current instance of FacesConfigPropertyType>

componentExtension

FacesConfigComponentType<T> componentExtension()
Sets the component-extension element

Returns:
the current instance of FacesConfigComponentType

isComponentExtension

Boolean isComponentExtension()
Removes the component-extension element

Returns:
the current instance of FacesConfigComponentType

removeComponentExtension

FacesConfigComponentType<T> removeComponentExtension()
Removes the component-extension element

Returns:
the current instance of FacesConfigComponentType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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