issrg.pba.rbac.xmlpolicy.ifstatement
Class NotNode
java.lang.Object
issrg.pba.rbac.xmlpolicy.PolicyXMLNode
issrg.pba.rbac.xmlpolicy.ifstatement.TermNode
issrg.pba.rbac.xmlpolicy.ifstatement.OperationNode
issrg.pba.rbac.xmlpolicy.ifstatement.NotNode
- All Implemented Interfaces:
- Term
public class NotNode
- extends OperationNode
This is the class for Not node of the IF-statement. Its functionality is
very much determined by OperationNode and NotInterpreter, which are
configured to deliver the following semantics:
This operation expects one and only one Term of type Types.BOOLEAN_TYPE,
and
returns a
value of type Types.BOOLEAN_TYPE.
The evaluation result is "true", if and only if evaluation of the Term
passed to the evaluate method results in a boolean "false".
- Author:
- A.Otenko
Field Summary |
static java.lang.String |
NOT_NODE
|
Constructor Summary |
protected |
NotNode()
|
|
NotNode(XMLPolicyParser p,
org.xml.sax.Attributes attrs)
This constructor builds a NotNode given the XMLPolicyParser and the set of
attributes of this XML element. |
Method Summary |
static void |
register()
Call this method to register the NotNode with the XMLPolicyParser. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NOT_NODE
public static final java.lang.String NOT_NODE
- See Also:
- Constant Field Values
NotNode
protected NotNode()
NotNode
public NotNode(XMLPolicyParser p,
org.xml.sax.Attributes attrs)
- This constructor builds a NotNode given the XMLPolicyParser and the set of
attributes of this XML element. It expects that there is one and only one
child node.
- Parameters:
p
- - the XMLPolicyParser that builds this NotNodeattrs
- - the attributes of this XML element
register
public static void register()
- Call this method to register the NotNode with the XMLPolicyParser. It also
registers the default NotInterpreter.