public class DifferentPageChecker extends AbstractObjectChecker
IObjectChecker
that returns a failure
result when the checked object is a second Page
instance
in the component tree. The first checked page instance is assumed to be the component
tree root. Any other page instance checked by the same checker is a referenced page
by a component in the tree.IObjectChecker.Result
Constructor and Description |
---|
DifferentPageChecker() |
Modifier and Type | Method and Description |
---|---|
IObjectChecker.Result |
doCheck(Object obj)
The implementations should make the specific check on the object.
|
check, getExclusions
public IObjectChecker.Result doCheck(Object obj)
AbstractObjectChecker
doCheck
in class AbstractObjectChecker
obj
- the object to checkresult
of the specific checkCopyright © 2006–2022 Apache Software Foundation. All rights reserved.