|
spring-beans | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.beans.PropertyEditorSupport
org.springframework.beans.propertyeditors.PatternEditor
public class PatternEditor
Editor for java.util.regex.Pattern, to directly populate a Pattern property.
Expects the same syntax as Pattern's compile method.
Pattern,
Pattern.compile(String)| Constructor Summary | |
|---|---|
PatternEditor()
Create a new PatternEditor with default settings. |
|
PatternEditor(int flags)
Create a new PatternEditor with the given settings. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAsText()
|
void |
setAsText(java.lang.String text)
|
| Methods inherited from class java.beans.PropertyEditorSupport |
|---|
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PatternEditor()
public PatternEditor(int flags)
flags - the java.util.regex.Pattern flags to applyPattern.compile(String, int),
Pattern.CASE_INSENSITIVE,
Pattern.MULTILINE,
Pattern.DOTALL,
Pattern.UNICODE_CASE,
Pattern.CANON_EQ| Method Detail |
|---|
public void setAsText(java.lang.String text)
setAsText in interface java.beans.PropertyEditorsetAsText in class java.beans.PropertyEditorSupportpublic java.lang.String getAsText()
getAsText in interface java.beans.PropertyEditorgetAsText in class java.beans.PropertyEditorSupport
|
spring-beans | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||