|
|
|
|
org.eclipse.jst.jsf.taglibprocessing.attributevalues
Class LanguageCodeType
java.lang.Object
org.eclipse.jst.jsf.metadataprocessors.AbstractMetaDataEnabledFeature
org.eclipse.jst.jsf.metadataprocessors.AbstractRootTypeDescriptor
org.eclipse.jst.jsf.taglibprocessing.attributevalues.AbstractEnumerationType
org.eclipse.jst.jsf.taglibprocessing.attributevalues.EnumerationType
org.eclipse.jst.jsf.taglibprocessing.attributevalues.LanguageCodeType
-
All Implemented Interfaces:
-
IDefaultValue,
IPossibleValues,
IValidELValues,
IValidValues,
IMetaDataEnabledFeature,
ITypeDescriptor
-
public class LanguageCodeType
- extends
EnumerationType
- implements
IPossibleValues
Meta-data processing type representing a Language Code type.
A Language code is defined as in html spec https://www.w3.org/TR/html4/types.html#h-6.8
Provisional API - subject to change
Methods inherited from class java.lang.Object
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
|
LanguageCodeType
public LanguageCodeType()
getPossibleValues
public java.util.List getPossibleValues()
-
-
Specified by:
-
getPossibleValues
in interface
IPossibleValues
-
-
Returns:
- List of IPossibleValue instances representing possible values
Implementer must ensure that an empty rather than null list is returned if no values are posssible.
isValidValue
public boolean isValidValue(java.lang.String value)
-
-
Specified by:
-
isValidValue
in interface
IValidValues
-
-
Parameters:
-
value - fully resolved value as String
-
Returns:
- true if is valid
|
|
|