com.ibm.xtools.uml.msl.internal.index
Class UMLXMIIndexProvider
java.lang.Object
XMIIndexProvider
com.ibm.xtools.uml.msl.internal.index.UMLXMIIndexProvider
public class UMLXMIIndexProvider
- extends XMIIndexProvider
A subclass of the XMIIndexProvider. This implementation uses
a new editing domain for loading the resources and creating index entries so
that the resource set in the index context is not modified. Added to this
this class provides a custom sax parser
- See Also:
UMLIndexSAXXMIHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UMLXMIIndexProvider
public UMLXMIIndexProvider()
getResourceSetForLoading
protected ResourceSet getResourceSetForLoading(ResourceSet defaultResourceSet)
createIndexSAXXMIHandler
protected IndexSAXXMIHandler createIndexSAXXMIHandler(XMIResource resource,
ResourceSet resourceSet,
IIndexWriter indexWriter,
IProgressMonitor monitor)
getResourceSetForParsing
protected ResourceSet getResourceSetForParsing(ResourceSet defaultResourceSet)
createIndexEntriesByParsing
protected void createIndexEntriesByParsing(ResourceSet resourceSet,
URI resourceURI,
IIndexWriter indexWriter,
IProgressMonitor monitor)
throws IndexException
- Throws:
IndexException
disposeSessionCache
public void disposeSessionCache()
throws IndexException
- Throws:
IndexException
initSessionCache
public void initSessionCache(IndexContext context)
throws IndexException
- Throws:
IndexException
© Copyright IBM Corp. 2009. All rights reserved.