issrg.pba.rbac.xmlpolicy.ifstatement
Class OrNode
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.OrNode
- All Implemented Interfaces:
- Term
public class OrNode
- extends OperationNode
This is the class for Or node of the IF-statement. Its functionality is
very much determined by OperationNode and OrInterpreter, which are
configured to deliver the following semantics:
This operation expects one or more Terms, each returning a
Types.BOOLEAN_TYPE type, and returns a value of type Types.BOOLEAN_TYPE.
The evaluation result is "true", if and only if there is at least one Term
of the OrNode that
evaluates to boolean "true".
- Author:
- A.Otenko
Field Summary |
static java.lang.String |
OR_NODE
|
Constructor Summary |
protected |
OrNode()
|
|
OrNode(XMLPolicyParser p,
org.xml.sax.Attributes attrs)
This constructor builds an OrNode, given a XMLPolicyParser and the
set of attributes of this XML element. |
Method Summary |
static void |
register()
Call this method to register the node with the XMLPolicyParser. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
OR_NODE
public static final java.lang.String OR_NODE
- See Also:
- Constant Field Values
OrNode
protected OrNode()
OrNode
public OrNode(XMLPolicyParser p,
org.xml.sax.Attributes attrs)
- This constructor builds an OrNode, given a XMLPolicyParser and the
set of attributes of this XML element.
- Parameters:
p
- - the XMLPolicyParser that builds this OrNodeattrs
- - the attributes of this XML element
register
public static void register()
- Call this method to register the node with the XMLPolicyParser. This
method also registers the default OrInterpreter.