public interface XMLPropertyEditor extends PropertyEditor
Modifier and Type | Method and Description |
---|---|
void |
readFromXML(Node element)
Called to load property value from specified XML subtree.
|
Node |
storeToXML(Document doc)
Called to store current property value into XML subtree.
|
addPropertyChangeListener, getAsText, getCustomEditor, getJavaInitializationString, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setAsText, setValue, supportsCustomEditor
void readFromXML(Node element) throws IOException
element
- the XML DOM element representing a subtree of XML from which the value should be loadedIOException
- thrown when the value cannot be restored from the specified XML elementNode storeToXML(Document doc)
doc
- The XML document to store the XML in - should be used for creating nodes only