diff options
Diffstat (limited to 'plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/search/tagger/XmlAttributeTagger.java')
-rw-r--r-- | plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/search/tagger/XmlAttributeTagger.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/search/tagger/XmlAttributeTagger.java b/plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/search/tagger/XmlAttributeTagger.java index 705d4cad334..b9aeadf2979 100644 --- a/plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/search/tagger/XmlAttributeTagger.java +++ b/plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/search/tagger/XmlAttributeTagger.java @@ -13,21 +13,20 @@ package org.eclipse.osee.orcs.db.internal.search.tagger; import java.io.InputStream; import java.util.Collections; import java.util.List; +import org.eclipse.osee.framework.core.enums.QueryOption; import org.eclipse.osee.framework.core.exception.OseeCoreException; import org.eclipse.osee.framework.jdk.core.type.MatchLocation; import org.eclipse.osee.framework.jdk.core.util.Lib; import org.eclipse.osee.framework.jdk.core.util.Strings; import org.eclipse.osee.framework.jdk.core.util.io.xml.XmlTextInputStream; import org.eclipse.osee.orcs.data.AttributeReadable; -import org.eclipse.osee.orcs.db.internal.search.util.WordOrderMatcher; -import org.eclipse.osee.orcs.search.CaseType; /** * @author Roberto E. Escobar */ public class XmlAttributeTagger extends BaseAttributeTagger { - public XmlAttributeTagger(TagProcessor tagProcessor, WordOrderMatcher matcher) { + public XmlAttributeTagger(TagProcessor tagProcessor, StreamMatcher matcher) { super(tagProcessor, matcher); } @@ -43,13 +42,13 @@ public class XmlAttributeTagger extends BaseAttributeTagger { } @Override - public List<MatchLocation> find(AttributeReadable<?> attribute, String toSearch, CaseType caseType, boolean matchAllLocations) throws OseeCoreException { + public List<MatchLocation> find(AttributeReadable<?> attribute, String toSearch, boolean matchAllLocations, QueryOption... options) throws OseeCoreException { List<MatchLocation> toReturn; if (Strings.isValid(toSearch)) { InputStream inputStream = null; try { inputStream = new XmlTextInputStream(getValueAsStream(attribute)); - toReturn = getMatcher().findInStream(inputStream, toSearch, caseType, matchAllLocations); + toReturn = getMatcher().findInStream(inputStream, toSearch, matchAllLocations, options); } finally { Lib.close(inputStream); } |