public class ScopeSpecification extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
match |
static int |
MATCH_EXACT
INTERNAL: Means that the scope match must be exact.
|
static int |
MATCH_SUBSET
INTERNAL: Means that the allowed scope can be a subset of the
specified scope.
|
static int |
MATCH_SUPERSET
INTERNAL: Means that the allowed scope can be a superset of the
specified scope.
|
protected Collection |
topicMatchers |
Constructor and Description |
---|
ScopeSpecification() |
Modifier and Type | Method and Description |
---|---|
void |
addThemeMatcher(TMObjectMatcherIF matcher)
INTERNAL: Add a new allowed theme.
|
int |
getMatch()
INTERNAL: Returns a value indicating the match policy used.
|
Collection |
getThemeMatchers()
INTERNAL: Returns the matchers of the allowed themes.
|
boolean |
matches(TMObjectIF object)
INTERNAL: Matches the specified scope against that of a topic
map object (which must implement ScopedIF).
|
void |
removeThemeMatcher(TMObjectMatcherIF matcher)
INTERNAL: Removes a topic matcher from the set of allowed themes.
|
void |
setMatch(int match)
INTERNAL: Sets the match policy used.
|
public static final int MATCH_EXACT
public static final int MATCH_SUPERSET
public static final int MATCH_SUBSET
protected Collection topicMatchers
protected int match
public int getMatch()
public void setMatch(int match)
public void addThemeMatcher(TMObjectMatcherIF matcher)
public Collection getThemeMatchers()
public void removeThemeMatcher(TMObjectMatcherIF matcher)
public boolean matches(TMObjectIF object)