T
- type used for checking the accesspublic abstract class AbstractChecker<T> extends Object
Constructor and Description |
---|
AbstractChecker() |
Modifier and Type | Method and Description |
---|---|
protected void |
assertNodeName(Node pNode,
String... pExpected)
Verify that a given node has one of a set of expected node names
|
abstract boolean |
check(T pArg)
Check whether for the given argument access is allowed
|
protected void assertNodeName(Node pNode, String... pExpected)
pNode
- node to checkpExpected
- list of expected node namesSecurityException
- if the node has none of the expected namespublic abstract boolean check(T pArg)
pArg
- argument (specific to each subclass)Copyright © 2016. All rights reserved.