Class PatternEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.springframework.beans.propertyeditors.PatternEditor
- All Implemented Interfaces:
- PropertyEditor
Editor for 
java.util.regex.Pattern, to directly populate a Pattern property.
 Expects the same syntax as Pattern's compile method.- Since:
- 2.0.1
- Author:
- Juergen Hoeller
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionCreate a new PatternEditor with default settings.PatternEditor(int flags) Create a new PatternEditor with the given settings.
- 
Method SummaryMethods inherited from class java.beans.PropertyEditorSupportaddPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
- 
Constructor Details- 
PatternEditorpublic PatternEditor()Create a new PatternEditor with default settings.
- 
PatternEditorpublic PatternEditor(int flags) Create a new PatternEditor with the given settings.- Parameters:
- flags- the- java.util.regex.Patternflags to apply
- See Also:
 
 
- 
- 
Method Details- 
setAsText- Specified by:
- setAsTextin interface- PropertyEditor
- Overrides:
- setAsTextin class- PropertyEditorSupport
 
- 
getAsText- Specified by:
- getAsTextin interface- PropertyEditor
- Overrides:
- getAsTextin class- PropertyEditorSupport
 
 
-