Class LocaleEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.apache.uima.fit.internal.propertyeditors.LocaleEditor
- All Implemented Interfaces:
PropertyEditor
INTERNAL API
Custom property editor for
Locale
that supports "-" as separator and sets the default
locale when null
or ""
is passed. This is used to be backwards-compatible with
previous uimaFIT behavior.-
Constructor Summary
-
Method Summary
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
-
Constructor Details
-
LocaleEditor
public LocaleEditor()
-
-
Method Details
-
setAsText
- Specified by:
setAsText
in interfacePropertyEditor
- Overrides:
setAsText
in classPropertyEditorSupport
-
getAsText
- Specified by:
getAsText
in interfacePropertyEditor
- Overrides:
getAsText
in classPropertyEditorSupport
-