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, setValue
firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, setSource, supportsCustomEditor
public String getAsText()
getAsText
in interface PropertyEditor
getAsText
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 © 2014 JBoss by Red Hat. All rights reserved.