File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Marker Interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Marker Interface" Watch "Marker Interface" New topic
Author

Marker Interface

Saravanakumar Gurusamy
Greenhorn

Joined: Jan 31, 2007
Posts: 5
What is use of an Marker Interface?
Rao Raghu
Ranch Hand

Joined: Jan 05, 2007
Posts: 100
Marker Interfaces dont have any body or methods to implement. They are just mentioned at the class name declaration. Mere mention of this adds a special functionality to the class.

Example: Serializable




RAGHU<br /> <br />"When the going gets tough, the tough get going"
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 40052
    
  28
Welcome to the Ranch.

More about marker interfaces, also called tagging interfaces on the Ranch here.
steve souza
Ranch Hand

Joined: Jun 26, 2002
Posts: 861
I googled: "java marker interface"

http://www.devx.com/tips/Tip/5266
http://en.wikipedia.org/wiki/Marker_interface_pattern


http://www.jamonapi.com/ - a fast, free open source performance tuning api.
JavaRanch Performance FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Marker Interface