Marker interface pattern: Difference between revisions

Content deleted Content added
Critique: Bullet Formatting
Critique: Wikilinks
Line 14:
 
* The [[.NET Framework|.NET framework]] supports attributes that can be used to associate any type of data with a class or with its members.
* [[Java_(software_platform)|Java]], as of Java 5 (1.5), also provides [[Annotation|annotations]] [[Java_annotation|support]] on classes, member variables, methods, and membermethod variablesparameters that may be accessed from an instance using [[Reflection_(computer_science)|reflection]].
* In [[Python (programming language)|Python]], the use and term '''marker interfaces''' is common in [[Zope 3]] and [[Plone (software)|Plone]]. Interfaces are declared as metadata and subclasses can use <code>implementsOnly</code> to declare they do not implement everything from their super classes.