|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface to be implemented by property editors which want to provide a load/store of property values in human-readable XML. The XML persistence is currently used by the form editor module for storage of modified property values.
Method Summary | |
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. |
Methods inherited from interface java.beans.PropertyEditor |
addPropertyChangeListener, getAsText, getCustomEditor, getJavaInitializationString, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setAsText, setValue, supportsCustomEditor |
Method Detail |
public void readFromXML(Node element) throws IOException
element
- the XML DOM element representing a subtree of XML from which the value should be loaded
IOException
- thrown when the value cannot be restored from the specified XML elementpublic Node storeToXML(Document doc)
doc
- The XML document to store the XML in - should be used for creating nodes only
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |