org.jboss.shrinkwrap.descriptor.api.webapp25.LocaleEncodingMappingListType Maven / Gradle / Ivy
package org.jboss.shrinkwrap.descriptor.api.webapp25;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.webapp25.LocaleEncodingMappingType;
import org.jboss.shrinkwrap.descriptor.api.webapp.*;
import org.jboss.shrinkwrap.descriptor.api.webapp.JavaeeLocaleEncodingMappingListCommonType;
import org.jboss.shrinkwrap.descriptor.api.webapp25.LocaleEncodingMappingType;/**
* This interface defines the contract for the locale-encoding-mapping-listType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface LocaleEncodingMappingListType extends Child,
JavaeeLocaleEncodingMappingListCommonType,
LocaleEncodingMappingType>> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: LocaleEncodingMappingListType ElementName: javaee:locale-encoding-mappingType ElementType : locale-encoding-mapping
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* 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.
* @return the instance defined for the element locale-encoding-mapping
*/
public LocaleEncodingMappingType> getOrCreateLocaleEncodingMapping();
/**
* Creates a new locale-encoding-mapping
element
* @return the new created instance of LocaleEncodingMappingType>
*/
public LocaleEncodingMappingType> createLocaleEncodingMapping();
/**
* Returns all locale-encoding-mapping
elements
* @return list of locale-encoding-mapping
*/
public List>> getAllLocaleEncodingMapping();
/**
* Removes all locale-encoding-mapping
elements
* @return the current instance of LocaleEncodingMappingType>
*/
public LocaleEncodingMappingListType removeAllLocaleEncodingMapping();
// --------------------------------------------------------------------------------------------------------||
// ClassName: LocaleEncodingMappingListType ElementName: xsd:ID ElementType : id
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the id
attribute
* @param id the value for the attribute id
* @return the current instance of LocaleEncodingMappingListType
*/
public LocaleEncodingMappingListType id(String id);
/**
* Returns the id
attribute
* @return the value defined for the attribute id
*/
public String getId();
/**
* Removes the id
attribute
* @return the current instance of LocaleEncodingMappingListType
*/
public LocaleEncodingMappingListType removeId();
}