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

All Superinterfaces:
Child<T>

public interface LocaleEncodingMappingType<T>
extends Child<T>

This interface defines the contract for the locale-encoding-mappingType xsd type

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

Method Summary
 LocaleEncodingMappingType<T> encoding(String encoding)
          Sets the encoding element
 String getEncoding()
          Returns the encoding element
 String getId()
          Returns the id attribute
 String getLocale()
          Returns the locale element
 LocaleEncodingMappingType<T> id(String id)
          Sets the id attribute
 LocaleEncodingMappingType<T> locale(String locale)
          Sets the locale element
 LocaleEncodingMappingType<T> removeEncoding()
          Removes the encoding element
 LocaleEncodingMappingType<T> removeId()
          Removes the id attribute
 LocaleEncodingMappingType<T> removeLocale()
          Removes the locale element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

locale

LocaleEncodingMappingType<T> locale(String locale)
Sets the locale element

Parameters:
locale - the value for the element locale
Returns:
the current instance of LocaleEncodingMappingType

getLocale

String getLocale()
Returns the locale element

Returns:
the node defined for the element locale

removeLocale

LocaleEncodingMappingType<T> removeLocale()
Removes the locale element

Returns:
the current instance of LocaleEncodingMappingType

encoding

LocaleEncodingMappingType<T> encoding(String encoding)
Sets the encoding element

Parameters:
encoding - the value for the element encoding
Returns:
the current instance of LocaleEncodingMappingType

getEncoding

String getEncoding()
Returns the encoding element

Returns:
the node defined for the element encoding

removeEncoding

LocaleEncodingMappingType<T> removeEncoding()
Removes the encoding element

Returns:
the current instance of LocaleEncodingMappingType

id

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

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

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

LocaleEncodingMappingType<T> removeId()
Removes the id attribute

Returns:
the current instance of LocaleEncodingMappingType


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