|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.dependency.index.DependencyIndexer
public abstract class DependencyIndexer
Base class for Indexer implementations that provide dependency information.
Constructor Summary | |
---|---|
DependencyIndexer()
|
Method Summary | |
---|---|
protected void |
addDeclaration(IndexDeclaration declaration)
Add a declaration to the index. |
protected void |
addReference(IndexReference reference)
Add a reference to the index. |
void |
endIndexing(IndexingContext context)
Indexing has finished on the given context. |
void |
index(IndexingContext context,
DataCollector data)
Index the current file in the context. |
protected abstract void |
indexDependencies(IndexingContext context)
Implemented by subclasses to index the dependencies. |
void |
startIndexing(IndexingContext context)
Indexing is about to start on the given context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DependencyIndexer()
Method Detail |
---|
public void startIndexing(IndexingContext context)
Indexer
startIndexing
in interface Indexer
context
- the indexing contextpublic void endIndexing(IndexingContext context)
Indexer
endIndexing
in interface Indexer
context
- the indexing contextpublic void index(IndexingContext context, DataCollector data)
Indexer
IndexingContext.getTextBuffer()
is read locked at the time this
method is called. Note that any Throwable thrown by
implementations of this method is considered a bug and will be reported
to the user.
index
in interface Indexer
context
- the contextdata
- the data collector where the Indexer should store its
dataprotected abstract void indexDependencies(IndexingContext context)
addDeclaration(oracle.ide.dependency.index.IndexDeclaration)
and addReference(oracle.ide.dependency.index.IndexReference)
methods
to add their declarations and references to the index.
context
- the indexing contextprotected void addDeclaration(IndexDeclaration declaration)
declaration
- the declarationprotected void addReference(IndexReference reference)
reference
- the reference
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |