org.tm4j.topicmap.utils.testers.InScopeTester .test(java.lang.Object x)

Description

Test if x is a ScopedObject which is in the scope of the themes specified in the constructor of this tester.

Parameters
java.lang.Object x the object to be tested.

Returns

false if x is not a ScopedObject; true if x is a ScopedObject and the set of test themes is empty; or else true if the set of scoping topics for the matches the context specified for this tester. If the boolean matchAll property is set to true, then a match is determined if and only if every scoping topic for x is in the context, otherwise a match is determined if one or more scoping topics of x are found in the context.

Other Resources

Related Topics

Has Parameters