ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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

All Superinterfaces:
Child<T>

public interface FacesConfigFacetType<T>
extends Child<T>

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

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

Method Summary
 IconType<FacesConfigFacetType<T>> createIcon()
          Creates a new icon element
 FacesConfigFacetType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 FacesConfigFacetType<T> displayName(String... values)
          Creates for all String objects representing display-name elements, a new display-name element
 FacesConfigFacetType<T> facetExtension()
          Sets the facet-extension element
 FacesConfigFacetType<T> facetName(String facetName)
          Sets the facet-name element
 List<String> getAllDescription()
          Returns all description elements
 List<String> getAllDisplayName()
          Returns all display-name elements
 List<IconType<FacesConfigFacetType<T>>> getAllIcon()
          Returns all icon elements
 String getFacetName()
          Returns the facet-name element
 IconType<FacesConfigFacetType<T>> getOrCreateIcon()
          If not already created, a new icon element will be created and returned.
 Boolean isFacetExtension()
          Removes the facet-extension element
 FacesConfigFacetType<T> removeAllDescription()
          Removes the description element
 FacesConfigFacetType<T> removeAllDisplayName()
          Removes the display-name element
 FacesConfigFacetType<T> removeAllIcon()
          Removes all icon elements
 FacesConfigFacetType<T> removeFacetExtension()
          Removes the facet-extension element
 FacesConfigFacetType<T> removeFacetName()
          Removes the facet-name element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

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

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

FacesConfigFacetType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of FacesConfigFacetType

displayName

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

getAllDisplayName

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

Returns:
list of display-name

removeAllDisplayName

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

Returns:
the current instance of FacesConfigFacetType

getOrCreateIcon

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

Returns:
the new created instance of IconType>

getAllIcon

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

Returns:
list of icon

removeAllIcon

FacesConfigFacetType<T> removeAllIcon()
Removes all icon elements

Returns:
the current instance of IconType>

facetName

FacesConfigFacetType<T> facetName(String facetName)
Sets the facet-name element

Parameters:
facetName - the value for the element facet-name
Returns:
the current instance of FacesConfigFacetType

getFacetName

String getFacetName()
Returns the facet-name element

Returns:
the node defined for the element facet-name

removeFacetName

FacesConfigFacetType<T> removeFacetName()
Removes the facet-name element

Returns:
the current instance of FacesConfigFacetType

facetExtension

FacesConfigFacetType<T> facetExtension()
Sets the facet-extension element

Returns:
the current instance of FacesConfigFacetType

isFacetExtension

Boolean isFacetExtension()
Removes the facet-extension element

Returns:
the current instance of FacesConfigFacetType

removeFacetExtension

FacesConfigFacetType<T> removeFacetExtension()
Removes the facet-extension element

Returns:
the current instance of FacesConfigFacetType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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