ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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 :2012-05-09T23:45:05.33-07: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 getLocale()
          Returns the locale element
 LocaleEncodingMappingType<T> locale(String locale)
          Sets the locale element
 LocaleEncodingMappingType<T> removeEncoding()
          Removes the encoding element
 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

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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