org.jboss.shrinkwrap.descriptor.api.facesconfig21
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 :2013-01-26T19:26:58.657+01: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
 String getId()
          Returns the id attribute
 FacesConfigLocaleConfigType<T> id(String id)
          Sets the id attribute
 FacesConfigLocaleConfigType<T> removeAllSupportedLocale()
          Removes the supported-locale element
 FacesConfigLocaleConfigType<T> removeDefaultLocale()
          Removes the default-locale element
 FacesConfigLocaleConfigType<T> removeId()
          Removes the id attribute
 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

id

FacesConfigLocaleConfigType<T> id(String id)
Sets the id attribute

Parameters:
id - the value for the attribute id
Returns:
the current instance of FacesConfigLocaleConfigType

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

FacesConfigLocaleConfigType<T> removeId()
Removes the id attribute

Returns:
the current instance of FacesConfigLocaleConfigType


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.