62636465666768
} @SuppressWarnings("unchecked") public ValueEncoder getLanguageEncoder() { return new EnumValueEncoder(ProgrammingLanguage.class); }
124125126127128129130131132
{ Class valueType = _resources.getBoundType("value"); if (valueType == null) return null; if (Enum.class.isAssignableFrom(valueType)) return new EnumValueEncoder(valueType); return null; }
248249250251252253254
/** Provide a value encoder for an enum type. */ @SuppressWarnings("unchecked") public ValueEncoder getValueEncoderForProperty() { return new EnumValueEncoder(_propertyEditModel.getPropertyType()); }
243244245246247248249
127128129130131132133134135
if (valueType == null) return null; if (Enum.class.isAssignableFrom(valueType)) return new EnumValueEncoder(valueType); return null; }
102103104105106107108
* Provide a value encoder for an enum type. */ @SuppressWarnings("unchecked") public ValueEncoder getValueEncoderForProperty() { return new EnumValueEncoder(_context.getPropertyType()); }