Base class for all facet detectors.
| Type | Name and description |
|---|---|
void |
addFacetIfNotExists(java.lang.String newFacet, java.util.List<java.lang.String> facets)Adds a facet to the facet list if the list does not already contain the facet. |
void |
addFacetsIfNotExists(java.util.List<java.lang.String> newFacets, java.util.List<java.lang.String> facets)Adds multiple facets to the list of facets if the list does not already contain the facets. |
void |
facets(java.util.List<java.lang.String> facets)Adds detected facets to the supplied facets collection |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Adds a facet to the facet list if the list does not already contain the facet.
newFacet - facet to addfacets - list to which to add the facetAdds multiple facets to the list of facets if the list does not already contain the facets.
newFacets - facets to addfacets - list to which to add the facetAdds detected facets to the supplied facets collection
facets - collection to which to add detected facets