|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.webcommon30.LocaleEncodingMappingTypeImpl<T>
public class LocaleEncodingMappingTypeImpl<T>
This class implements the locale-encoding-mappingType xsd type
Original Documentation:
The locale-encoding-mapping contains locale name and
encoding name. The locale name must be either "Language-code",
such as "ja", defined by ISO-639 or "Language-code_Country-code",
such as "ja_JP". "Country code" is defined by ISO-3166.
| Constructor Summary | |
|---|---|
LocaleEncodingMappingTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
LocaleEncodingMappingTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getEncoding()
Returns the encoding element |
java.lang.String |
getLocale()
Returns the locale element |
LocaleEncodingMappingType<T> |
removeEncoding()
Removes the encoding element |
LocaleEncodingMappingType<T> |
removeLocale()
Removes the locale element |
LocaleEncodingMappingType<T> |
setEncoding(java.lang.String encoding)
If not already created, a new encoding element with the given value will be created. |
LocaleEncodingMappingType<T> |
setLocale(java.lang.String locale)
If not already created, a new locale element with the given value will be created. |
T |
up()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LocaleEncodingMappingTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
public LocaleEncodingMappingTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
| Method Detail |
|---|
public T up()
up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>public LocaleEncodingMappingType<T> setLocale(java.lang.String locale)
locale element with the given value will be created.
Otherwise, the existing locale element will be updated with the given value.
setLocale in interface LocaleEncodingMappingType<T>LocaleEncodingMappingTypepublic LocaleEncodingMappingType<T> removeLocale()
locale element
removeLocale in interface LocaleEncodingMappingType<T>LocaleEncodingMappingTypepublic java.lang.String getLocale()
locale element
getLocale in interface LocaleEncodingMappingType<T>localepublic LocaleEncodingMappingType<T> setEncoding(java.lang.String encoding)
encoding element with the given value will be created.
Otherwise, the existing encoding element will be updated with the given value.
setEncoding in interface LocaleEncodingMappingType<T>LocaleEncodingMappingTypepublic LocaleEncodingMappingType<T> removeEncoding()
encoding element
removeEncoding in interface LocaleEncodingMappingType<T>LocaleEncodingMappingTypepublic java.lang.String getEncoding()
encoding element
getEncoding in interface LocaleEncodingMappingType<T>encoding
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||