org.jboss.shrinkwrap.descriptor.api.webcommon30
Interface LocaleEncodingMappingListType<T>

All Superinterfaces:
Child<T>

public interface LocaleEncodingMappingListType<T>
extends Child<T>

This interface defines the contract for the locale-encoding-mapping-listType xsd type

Since:
Generation date :2013-01-26T19:26:59.858+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 LocaleEncodingMappingType<LocaleEncodingMappingListType<T>> createLocaleEncodingMapping()
          Creates a new locale-encoding-mapping element
 List<LocaleEncodingMappingType<LocaleEncodingMappingListType<T>>> getAllLocaleEncodingMapping()
          Returns all locale-encoding-mapping elements
 String getId()
          Returns the id attribute
 LocaleEncodingMappingType<LocaleEncodingMappingListType<T>> getOrCreateLocaleEncodingMapping()
          If not already created, a new locale-encoding-mapping element will be created and returned.
 LocaleEncodingMappingListType<T> id(String id)
          Sets the id attribute
 LocaleEncodingMappingListType<T> removeAllLocaleEncodingMapping()
          Removes all locale-encoding-mapping elements
 LocaleEncodingMappingListType<T> removeId()
          Removes the id attribute
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

getOrCreateLocaleEncodingMapping

LocaleEncodingMappingType<LocaleEncodingMappingListType<T>> getOrCreateLocaleEncodingMapping()
If not already created, a new locale-encoding-mapping element will be created and returned. Otherwise, the first existing locale-encoding-mapping element will be returned.

Returns:
the instance defined for the element locale-encoding-mapping

createLocaleEncodingMapping

LocaleEncodingMappingType<LocaleEncodingMappingListType<T>> createLocaleEncodingMapping()
Creates a new locale-encoding-mapping element

Returns:
the new created instance of LocaleEncodingMappingType>

getAllLocaleEncodingMapping

List<LocaleEncodingMappingType<LocaleEncodingMappingListType<T>>> getAllLocaleEncodingMapping()
Returns all locale-encoding-mapping elements

Returns:
list of locale-encoding-mapping

removeAllLocaleEncodingMapping

LocaleEncodingMappingListType<T> removeAllLocaleEncodingMapping()
Removes all locale-encoding-mapping elements

Returns:
the current instance of LocaleEncodingMappingType>

id

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

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

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

LocaleEncodingMappingListType<T> removeId()
Removes the id attribute

Returns:
the current instance of LocaleEncodingMappingListType


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