org.openide.src 1.8.22

org.openide.src
Interface ClassElement.Finder

Enclosing class:
ClassElement

public static interface ClassElement.Finder

Provides a "finder" for class elements. A module can provide its own finder to enhance the ability of the IDE to locate a valid class element description for different classes.

See Also:
ClassElement.forName(java.lang.String, org.openide.filesystems.FileObject), ClassElement.register(org.openide.src.ClassElement.Finder), ClassElement.unregister(org.openide.src.ClassElement.Finder)

Method Summary
 ClassElement find(Class clazz, FileObject reference)
          Find a class element description for a class.
 ClassElement find(String name, FileObject reference)
          Find a class element description for a class name.
 

Method Detail

find

ClassElement find(Class clazz,
                  FileObject reference)
Find a class element description for a class.

Parameters:
clazz - the class to find
reference - file object presumed to be in the same classpath structure
Returns:
the class element, or null if not found

find

ClassElement find(String name,
                  FileObject reference)
Find a class element description for a class name.

Parameters:
name - the name of a class to find
reference - file object presumed to be in the same classpath structure
Returns:
the class element, or null if not found

org.openide.src 1.8.22

Built on July 11 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.