|
org.netbeans.modules.editor.mimelookup/1 1.22.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value={TYPE,METHOD})
@Retention(value=SOURCE)
public @interface MimeRegistrationRegister an implementation of a service to the mime lookup under given mime-type. This annotation can be used either to annotate implementation class, in which case it must have a public non-arg constructor, or a public static factory method returning the service.
| Required Element Summary | |
|---|---|
String |
mimeType
Mime type to which should be the given provider registered. |
Class<?> |
service
The API service. |
| Optional Element Summary | |
|---|---|
int |
position
Position of the provider in the list of providers. |
| Element Detail |
|---|
public abstract Class<?> service
public abstract String mimeType
public abstract int position
|
org.netbeans.modules.editor.mimelookup/1 1.22.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||