Package org.faktorips.util.memento
Class XmlMemento
java.lang.Object
org.faktorips.util.memento.XmlMemento
- All Implemented Interfaces:
Memento
A memento that stores the originator's state as XML element.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the object this is a memento of.getState()Returns the originator's state stored in the memento.
-
Constructor Details
-
XmlMemento
Creates a new memento.- Parameters:
originator- the object this is a memento for.state- the originator's state as XML element.
-
-
Method Details
-
getOriginator
Description copied from interface:MementoReturns the object this is a memento of.- Specified by:
getOriginatorin interfaceMemento
-
getState
Returns the originator's state stored in the memento.
-