ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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

All Superinterfaces:
Child<T>

public interface FacesConfigLocaleConfigType<T>
extends Child<T>

This interface defines the contract for the faces-config-locale-configType xsd type

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

Method Summary
 FacesConfigLocaleConfigType<T> defaultLocale(String defaultLocale)
          Sets the default-locale element
 List<String> getAllSupportedLocale()
          Returns all supported-locale elements
 String getDefaultLocale()
          Returns the default-locale element
 FacesConfigLocaleConfigType<T> removeAllSupportedLocale()
          Removes the supported-locale element
 FacesConfigLocaleConfigType<T> removeDefaultLocale()
          Removes the default-locale element
 FacesConfigLocaleConfigType<T> supportedLocale(String... values)
          Creates for all String objects representing supported-locale elements, a new supported-locale element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

defaultLocale

FacesConfigLocaleConfigType<T> defaultLocale(String defaultLocale)
Sets the default-locale element

Parameters:
defaultLocale - the value for the element default-locale
Returns:
the current instance of FacesConfigLocaleConfigType

getDefaultLocale

String getDefaultLocale()
Returns the default-locale element

Returns:
the node defined for the element default-locale

removeDefaultLocale

FacesConfigLocaleConfigType<T> removeDefaultLocale()
Removes the default-locale element

Returns:
the current instance of FacesConfigLocaleConfigType

supportedLocale

FacesConfigLocaleConfigType<T> supportedLocale(String... values)
Creates for all String objects representing supported-locale elements, a new supported-locale element

Parameters:
values - list of supported-locale objects
Returns:
the current instance of FacesConfigLocaleConfigType

getAllSupportedLocale

List<String> getAllSupportedLocale()
Returns all supported-locale elements

Returns:
list of supported-locale

removeAllSupportedLocale

FacesConfigLocaleConfigType<T> removeAllSupportedLocale()
Removes the supported-locale element

Returns:
the current instance of FacesConfigLocaleConfigType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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