Package org.smooks.engine.memento
Class AbstractVisitorMemento
- java.lang.Object
-
- org.smooks.engine.memento.AbstractVisitorMemento
-
- All Implemented Interfaces:
Memento
- Direct Known Subclasses:
ConsumeSerializerVisitor.ElementMemento
,VisitorMemento
public abstract class AbstractVisitorMemento extends Object implements Memento
-
-
Constructor Summary
Constructors Constructor Description AbstractVisitorMemento(Fragment<?> fragment, Visitor visitor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAnchor()
Gets the anchor value of thisMemento
.Fragment<?>
getFragment()
Visitor
getVisitor()
-
-
-
Method Detail
-
getVisitor
public Visitor getVisitor()
- Returns:
- the
Visitor
which thisVisitorMemento
is bound to
-
getFragment
public Fragment<?> getFragment()
- Specified by:
getFragment
in interfaceMemento
- Returns:
- the fragment which this
Memento
is bound to
-
-