Interface Restorable

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getRestorableState()
      Returns an XML document string describing the object's state.
      void restoreState​(java.lang.String stateInXml)
      Restores the object's state to what is described in the specified XML document string.
    • Method Detail

      • getRestorableState

        java.lang.String getRestorableState()
        Returns an XML document string describing the object's state. This state can be restored later by calling restoreState and passing the XML document.
        Returns:
        an XML document string describing the object's state.
      • restoreState

        void restoreState​(java.lang.String stateInXml)
        Restores the object's state to what is described in the specified XML document string.
        Parameters:
        stateInXml - an XML document string describing an object's state.