public class StringEditor extends PropertyEditorSupport<String>
String.
It is really a no-op but it is hoped to provide slightly better performance, by avoiding the continuous lookup/failure of a
property editor for plain Strings within the org.jboss.util.propertyeditor package, before falling back to the jdk provided
String editor.| Constructor and Description |
|---|
StringEditor() |
| Modifier and Type | Method and Description |
|---|---|
void |
setAsText(String text)
Keep the provided String as is.
|
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, getAsText, getType, getValue, removePropertyChangeListener, removePropertyChangeListener, setValuefirePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, setSource, supportsCustomEditorpublic void setAsText(String text)
setAsText in interface PropertyEditorsetAsText in class PropertyEditorSupport<String>text - The string to be parsed.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.