Class ConsumeSerializerVisitor.ElementMemento
- java.lang.Object
-
- org.smooks.engine.memento.AbstractVisitorMemento
-
- org.smooks.engine.delivery.sax.ng.ConsumeSerializerVisitor.ElementMemento
-
- All Implemented Interfaces:
Memento
- Enclosing class:
- ConsumeSerializerVisitor
protected static class ConsumeSerializerVisitor.ElementMemento extends AbstractVisitorMemento
-
-
Field Summary
-
Fields inherited from class org.smooks.engine.memento.AbstractVisitorMemento
anchor, fragment, visitor
-
-
Constructor Summary
Constructors Constructor Description ElementMemento(Fragment<?> fragment, Visitor visitor, Boolean isOpen)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Memento
copy()
Performs a deep clone of thisMemento
.Boolean
isOpen()
void
restore(Memento memento)
Combines aMemento
state with thisMemento
-
Methods inherited from class org.smooks.engine.memento.AbstractVisitorMemento
getAnchor, getFragment, getVisitor
-
-
-
-
Method Detail
-
copy
public Memento copy()
Description copied from interface:Memento
Performs a deep clone of thisMemento
.- Returns:
- a deep clone of this
Memento
-
restore
public void restore(Memento memento)
Description copied from interface:Memento
Combines aMemento
state with thisMemento
- Parameters:
memento
- theMemento
restoring thisMemento
-
isOpen
public Boolean isOpen()
-
-