org.netbeans.modules.parsing.api/1 1.55.0 6

org.netbeans.modules.parsing.spi.indexing
Annotation Type PathRecognizerRegistration


@Target(value=TYPE)
@Retention(value=SOURCE)
public @interface PathRecognizerRegistration

Registers a PathRecognizer in the default Lookup.

This annotation can be added to any type, but typically you should add it to an indexer factory or a CSL language definition.

Since:
1.32

Optional Element Summary
 String[] binaryLibraryPathIds
          Gets classpath IDs for binray library paths registered in the GlobalPathRegistry.
 String[] libraryPathIds
          Gets classpath IDs for library paths registered in the GlobalPathRegistry.
 String[] mimeTypes
          Gets mime types of files relevant for the paths identified by the other methods.
 String[] sourcePathIds
          Gets classpath IDs for source paths registered in the GlobalPathRegistry.
 

sourcePathIds

public abstract String[] sourcePathIds
Gets classpath IDs for source paths registered in the GlobalPathRegistry.

Returns:
The list of source path IDs; "ANY" means any source path ID and an empty array ({}) means no source path ID.
Default:
"ANY"

libraryPathIds

public abstract String[] libraryPathIds
Gets classpath IDs for library paths registered in the GlobalPathRegistry.

Returns:
The list of source path IDs; "ANY" means any source path ID and an empty array ({}) means no source path ID.
Default:
"ANY"

binaryLibraryPathIds

public abstract String[] binaryLibraryPathIds
Gets classpath IDs for binray library paths registered in the GlobalPathRegistry.

Returns:
The list of source path IDs; "ANY" means any source path ID and an empty array ({}) means no source path ID.
Default:
"ANY"

mimeTypes

public abstract String[] mimeTypes
Gets mime types of files relevant for the paths identified by the other methods.

Returns:
The list of mime types; null, an empty array ({}) and empty strings ("") are ignored.
Default:
{}

org.netbeans.modules.parsing.api/1 1.55.0 6

Built on May 24 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.