|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.ide.dependency.index.IndexReferenceProvider
public abstract class IndexReferenceProvider
Provides references stored in the index.
| Constructor Summary | |
|---|---|
IndexReferenceProvider() |
|
| Method Summary | |
|---|---|
boolean |
canFindReferences(Context context, Scope scope, Declaration declaration)Determine whether this provider can find references to a declaration. |
boolean |
canGetReference(Context context)Determine whether there could be a reference in the context. |
boolean |
canGetReferences(Context context, Node node)Determine whether this provider can get references for a Node. |
java.util.Collection<? extends Reference> |
findReferences(Context context, Scope scope, Declaration declaration, ProgressIndicator progress)Find all references to the given declaration that this provider knows about. |
protected ContentSet |
getContentSet(Context context, Project project, Declaration declaration)Get the content set that should be searched for references to a declaration. |
Reference |
getReference(Context context)Get the reference for the given context, or null if there is no reference in this context. |
protected abstract java.util.Collection<QueryCriteria> |
getReferenceCriteria(Context context, Declaration declaration)Get the index query criteria to use to search for references to a declaration. |
java.util.Collection<? extends Reference> |
getReferences(Context context, Node node)Get all references for a Node. |
protected boolean |
verify(Context context, IndexReference reference, Declaration declaration)Verify that a reference points to a declaration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IndexReferenceProvider()
| Method Detail |
|---|
protected abstract java.util.Collection<QueryCriteria> getReferenceCriteria(Context context,
Declaration declaration)
context - the contextdeclaration - the declaration
protected ContentSet getContentSet(Context context,
Project project,
Declaration declaration)
context - the contextproject - the project being searcheddeclaration - the declarationpublic boolean canGetReference(Context context)
ReferenceProvidercanGetReference in interface ReferenceProvidercontext - the contextpublic Reference getReference(Context context)
ReferenceProviderReferenceProvider.canGetReference(oracle.ide.Context) returned true for this context.getReference in interface ReferenceProvidercontext - the context
public boolean canGetReferences(Context context,
Node node)
ReferenceProvidercanGetReferences in interface ReferenceProvidercontext - the contextnode - the Node
public java.util.Collection<? extends Reference> getReferences(Context context,
Node node)
throws java.lang.InterruptedException
ReferenceProvidergetReferences in interface ReferenceProvidercontext - the contextnode - the Nodejava.lang.InterruptedException - if the operation is interrupted
public boolean canFindReferences(Context context,
Scope scope,
Declaration declaration)
ReferenceProvidercanFindReferences in interface ReferenceProvidercontext - the contextdeclaration - the declaration
public java.util.Collection<? extends Reference> findReferences(Context context,
Scope scope,
Declaration declaration,
ProgressIndicator progress)
throws java.lang.InterruptedException
ReferenceProviderReferenceProvider.canFindReferences(Context, Scope, Declaration) returns true for this context and declaration.findReferences in interface ReferenceProvidercontext - the contextdeclaration - the declaration to search forprogress - the progress indicatorjava.lang.InterruptedException - if the operation is interrupted
protected boolean verify(Context context,
IndexReference reference,
Declaration declaration)
throws java.lang.InterruptedException
context - the contextreference - the referencedeclaration - the declarationjava.lang.InterruptedException - if the operation is interrupted
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||