org.eclipse.jst.jsf.taglibprocessing.attributevalues
Class ComponentIDType

java.lang.Object
  extended by org.eclipse.jst.jsf.metadataprocessors.AbstractMetaDataEnabledFeature
      extended by org.eclipse.jst.jsf.metadataprocessors.AbstractRootTypeDescriptor
          extended by org.eclipse.jst.jsf.taglibprocessing.attributevalues.BindingType
              extended by org.eclipse.jst.jsf.taglibprocessing.attributevalues.ExpressionBindingType
                  extended by org.eclipse.jst.jsf.taglibprocessing.attributevalues.ValueBindingType
                      extended by org.eclipse.jst.jsf.taglibprocessing.attributevalues.ComponentIDType
All Implemented Interfaces:
IValidELValues, IValidValues, IMetaDataEnabledFeature, ITypeDescriptor

public class ComponentIDType
extends ValueBindingType
implements IValidValues, IValidELValues

Meta-data processing type representing an "id" attribute Represents an ID or NAME HTML attribute type.
Attribute values of type ID and NAME must begin with a letter in the range A-Z or a-z or underscore ("_") and may be followed by letters (A-Z, a-z), digits (0-9), hyphens ("-"), underscores ("_"), colons (":"), and periods (".").

Provisional API - subject to change


Field Summary
 
Fields inherited from class org.eclipse.jst.jsf.taglibprocessing.attributevalues.ExpressionBindingType
RUNTIME_PARAMS_TYPES, RUNTIME_RETURN_TYPE, RUNTIME_SETTER_REQUIRED
 
Fields inherited from interface org.eclipse.jst.jsf.metadataprocessors.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
 
Constructor Summary
ComponentIDType()
           
 
Method Summary
 org.eclipse.jst.jsf.common.internal.types.CompositeType getExpectedRuntimeType()
          Expected runtime type for EL value
 boolean isValidValue(java.lang.String value)
           
 
Methods inherited from class org.eclipse.jst.jsf.taglibprocessing.attributevalues.ExpressionBindingType
getValidationMessages
 
Methods inherited from class org.eclipse.jst.jsf.metadataprocessors.AbstractRootTypeDescriptor
getFeatureAdapters, getTypeExtension, setTypeExtension
 
Methods inherited from class org.eclipse.jst.jsf.metadataprocessors.AbstractMetaDataEnabledFeature
getMetaDataContext, getStructuredDocumentContext, setMetaDataContext, setStructuredDocumentContext
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.jst.jsf.metadataprocessors.features.IValidValues
getValidationMessages
 
Methods inherited from interface org.eclipse.jst.jsf.metadataprocessors.IMetaDataEnabledFeature
getMetaDataContext, getStructuredDocumentContext, setMetaDataContext, setStructuredDocumentContext
 

Constructor Detail

ComponentIDType

public ComponentIDType()
Method Detail

getExpectedRuntimeType

public org.eclipse.jst.jsf.common.internal.types.CompositeType getExpectedRuntimeType()
                                                                               throws ELIsNotValidException
Description copied from interface: IValidELValues
Expected runtime type for EL value

Specified by:
getExpectedRuntimeType in interface IValidELValues
Overrides:
getExpectedRuntimeType in class ValueBindingType
Returns:
CompositeType
Throws:
ELIsNotValidException

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