org.eclipse.jst.jsf.taglibprocessing.internal.provisional.attributevalues
Class DoubleType

java.lang.Object
  extended byorg.eclipse.jst.jsf.metadataprocessors.internal.provisional.AbstractMetaDataEnabledFeature
      extended byorg.eclipse.jst.jsf.metadataprocessors.internal.provisional.AbstractRootTypeDescriptor
          extended byorg.eclipse.jst.jsf.taglibprocessing.internal.provisional.attributevalues.EnumerationType
              extended byorg.eclipse.jst.jsf.taglibprocessing.internal.provisional.attributevalues.NumberType
                  extended byorg.eclipse.jst.jsf.taglibprocessing.internal.provisional.attributevalues.DoubleType
All Implemented Interfaces:
IDefaultValue, IMetaDataEnabledFeature, ITypeDescriptor, IValidELValues, IValidValues

public class DoubleType
extends NumberType

Meta-data processing type representing a "double" attribute value runtime type


Field Summary
 
Fields inherited from class org.eclipse.jst.jsf.taglibprocessing.internal.provisional.attributevalues.NumberType
EXCEEDS_MAX, LESS_THAN_MIN, maxFound, minFound
 
Fields inherited from class org.eclipse.jst.jsf.taglibprocessing.internal.provisional.attributevalues.EnumerationType
EMPTY_LIST
 
Fields inherited from interface org.eclipse.jst.jsf.metadataprocessors.internal.provisional.features.IValidValues
VALID_VALUES_CODE_PROP_NAME, VALID_VALUES_MAX_PROP_NAME, VALID_VALUES_MESSAGE_PROP_NAME, VALID_VALUES_MIN_PROP_NAME, VALID_VALUES_PROP_NAME, VALID_VALUES_SEVERITY_PROP_NAME
 
Fields inherited from interface org.eclipse.jst.jsf.metadataprocessors.internal.provisional.features.IDefaultValue
DEFAULT_VALUE_PROP_NAME
 
Constructor Summary
DoubleType()
           
 
Method Summary
protected  java.lang.String getReturnType()
           
 boolean isValidValue(java.lang.String value)
          Type coercion according to JSP 2.0 spec: JSP.1.14.2.1 Conversions from String values
 
Methods inherited from class org.eclipse.jst.jsf.taglibprocessing.internal.provisional.attributevalues.NumberType
getValidMaximumValue, getValidMinimumValue
 
Methods inherited from class org.eclipse.jst.jsf.taglibprocessing.internal.provisional.attributevalues.EnumerationType
addNewValidationMessage, getAssignmentType, getCMPossibleValues, getCMPossibleValuesForDisplay, getCMValidationCode, getCMValidationMessage, getCMValidationSeverity, getCMValidValues, getDefaultValue, getExpectedRuntimeType, getValidationMessages
 
Methods inherited from class org.eclipse.jst.jsf.metadataprocessors.internal.provisional.AbstractRootTypeDescriptor
findMetaDataEnabledFeaturesForThisType, getFeatureAdapters, getTypeExtension, setTypeExtension
 
Methods inherited from class org.eclipse.jst.jsf.metadataprocessors.internal.provisional.AbstractMetaDataEnabledFeature
getBundleID, getCMAnnotationContext, getCMAttributePropertyValue, getCMAttributePropertyValues, getCMSmallIcon, getImage, getStructuredDocumentContext, setBundleID, setContentModelContext, setStructuredDocumentContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.jst.jsf.metadataprocessors.internal.provisional.IMetaDataEnabledFeature
getBundleID, getCMAnnotationContext, getStructuredDocumentContext, setBundleID, setContentModelContext, setStructuredDocumentContext
 

Constructor Detail

DoubleType

public DoubleType()
Method Detail

getReturnType

protected java.lang.String getReturnType()
Specified by:
getReturnType in class EnumerationType
Returns:
return Java type as string (i.e. boolean, java.lang.String, etc.) Must not be null.

isValidValue

public boolean isValidValue(java.lang.String value)
Type coercion according to JSP 2.0 spec: JSP.1.14.2.1 Conversions from String values

Returns:
true if is valid
See Also:
IValidValues.isValidValue(java.lang.String)