public abstract class XMLEditorSupport<T> extends PropertyEditorSupport<T>
Document.| Constructor and Description |
|---|
XMLEditorSupport(Class<T> type) |
| Modifier and Type | Method and Description |
|---|---|
protected Document |
getAsDocument(String text) |
String |
getAsText()
Returns the property as a String.
|
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, getType, getValue, removePropertyChangeListener, removePropertyChangeListener, setAsText, setValuefirePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, setSource, supportsCustomEditorpublic String getAsText()
getAsText in interface PropertyEditorgetAsText in class PropertyEditorSupport<T>Returns null if the value can't be expressed as an editable string.
If a non-null value is returned, then the PropertyEditor should be prepared to parse that string back in setAsText().
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.