Skip to main content
summaryrefslogtreecommitdiffstats
blob: 677355af873a77beb5ca9da02ddcf81ba1520c81 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*******************************************************************************
 * Copyright (c) 2004, 2007 Boeing.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Boeing - initial API and implementation
 *******************************************************************************/
package org.eclipse.osee.framework.search.engine;

import java.util.List;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.search.engine.attribute.AttributeData;
import org.eclipse.osee.framework.search.engine.utility.ITagCollector;

/**
 * @author Roberto E. Escobar
 */
public interface IAttributeTaggerProvider {

   /**
    * Creates tags for attribute content
    * 
    * @param attributeData attribute to content to tag
    * @param collector object collecting tags
    */
   public void tagIt(AttributeData attributeData, ITagCollector collector) throws OseeCoreException;

   /**
    * Searches attribute content for value match
    * 
    * @param attributeData attribute to search in
    * @param value to search in attribute content
    * @return match location
    */
   public List<MatchLocation> find(AttributeData attributeData, String toSearch, SearchOptions options) throws OseeCoreException;

}

Back to the top