Package org.eclipse.wst.common.core.search.document

Examples of org.eclipse.wst.common.core.search.document.SearchDocument


    IFile[] files = scope.enclosingFiles()
    for (int i = 0; i < files.length; i++)
    {
      IFile file = files[i];
      String path = file.getLocation().toString();
      SearchDocument document = documentSet.getSearchDocument(path, id);
      if (document != null)
      {             
      Entry[] entries = document.getEntries(getSearchEntryCategory(pattern), null, 0);          
      if ((entries != null && entries.length > 0) || (searchOptions != null && searchOptions.get("searchDirtyContent") != null))
            {
              //for (int j = 0; j < entries.length; j++)
              //{
              //  Entry entry = entries[j];
View Full Code Here


      // Fix for bug 204174 - End
           
      if (source.startsWith(fileProtocol))
      {   
       
      SearchDocument document = set._tempGetSearchDocumetn(source.substring(fileProtocol.length()));     
      if (document != null)
      {       
        URIResolver uriResolver = URIResolverPlugin.createResolver();       
        Entry[] entries = document.getEntries(IXMLSearchConstants.REF, null, 0);
        String[] resolveEntry = new String[entries.length];       
        for (int j = 0; j < entries.length; j++)
        {
          Entry entry = entries[j];
          if (entry instanceof FileReferenceEntry)
View Full Code Here

TOP

Related Classes of org.eclipse.wst.common.core.search.document.SearchDocument

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.