The reason for marker interfaces (also called tagging interfaces) is that a class using them can
test . . . if (myObject instanceof FooMarkerInterface) . . .
It is probably better to use annotations since Java5.
We have
FAQ, and you will find more about marker interfaces there.
If you need more information, please post a reply.
