XGTRBAC.scanner
Class XRS_DTDScanner

java.lang.Object
  extended by XGTRBAC.scanner.XRS_DTDScanner

public class XRS_DTDScanner
extends java.lang.Object

This is a scanner of XRS DOM tree. It is called from DOMReader. It writes information to these policy data structures: Role.

See Also:
Document, Element, NamedNodeMap

Field Summary
private static Role.RoleCondition activ_cond
           
(package private)  org.w3c.dom.Document document
          Create Document instance
private static Role.RoleCondition enab_cond
           
private static int expr_count
           
private static int mode
           
private  Policy policy
           
private static java.lang.String role_id
           
private static LogicalExpr.SimplePredicate simp_pred
           
 
Constructor Summary
XRS_DTDScanner(org.w3c.dom.Document doc_object, Policy p_object)
          Create new XRS_DTDScanner with Document and Policy object.
 
Method Summary
 void visitDocument()
          Scan through Document document.
(package private)  void visitElement_activ_condition(org.w3c.dom.Element element)
          Scan through Element named activ_condition.
(package private)  void visitElement_activ_constraint(org.w3c.dom.Element element)
          Scan through Element named activ_constraint.
(package private)  void visitElement_Attribute(org.w3c.dom.Element element)
          Scan through Element named attribute.
(package private)  void visitElement_cardinality(org.w3c.dom.Element element)
          Scan through Element named cardinality.
(package private)  void visitElement_cred_expr(org.w3c.dom.Element element)
          Scan through Element named cred_expr.
(package private)  void visitElement_cred_type(org.w3c.dom.Element element)
          Scan through Element named cred_type.
(package private)  void visitElement_DSD_Role_Set_id(org.w3c.dom.Element element)
          Scan through Element named DSD_Role_Set_id.
(package private)  void visitElement_DSig(org.w3c.dom.Element element)
          Scan through Element named DSig.
(package private)  void visitElement_enab_condition(org.w3c.dom.Element element)
          Scan through Element named enab_condition.
(package private)  void visitElement_enab_constraint(org.w3c.dom.Element element)
          Scan through Element named enab_constraint.
(package private)  void visitElement_func_name(org.w3c.dom.Element element)
          Scan through Element named func_name.
(package private)  void visitElement_Header(org.w3c.dom.Element element)
          Scan through Element named Header.
(package private)  void visitElement_Issuer(org.w3c.dom.Element element)
          Scan through Element named Issuer.
(package private)  void visitElement_junior(org.w3c.dom.Element element)
          Scan through Element named junior.
(package private)  void visitElement_logical_expr(org.w3c.dom.Element element, LogicalExpr logical_expr)
          Scan through Element named logical_expr.
(package private)  void visitElement_NotBefore(org.w3c.dom.Element element)
          Scan through Element named NotBefore.
(package private)  void visitElement_NotOnOrAfter(org.w3c.dom.Element element)
          Scan through Element named NotOnOrAfter.
(package private)  void visitElement_operator(org.w3c.dom.Element element)
          Scan through Element named operator.
(package private)  void visitElement_param_name(org.w3c.dom.Element element)
          Scan through Element named param_name.
(package private)  void visitElement_predicate(org.w3c.dom.Element element, LogicalExpr logical_expr)
          Scan through Element named predicate.
(package private)  void visitElement_Principal(org.w3c.dom.Element element)
          Scan through Element named Principal.
(package private)  void visitElement_ret_value(org.w3c.dom.Element element)
          Scan through Element named ret_value.
(package private)  void visitElement_role(org.w3c.dom.Element element)
          Scan through Element named role.
(package private)  void visitElement_senior(org.w3c.dom.Element element)
          Scan through Element named senior.
(package private)  void visitElement_SSD_Role_Set_id(org.w3c.dom.Element element)
          Scan through Element named SSD_Role_Set_id.
(package private)  void visitElement_Validity(org.w3c.dom.Element element)
          Scan through Element named Validity.
(package private)  void visitElement_XRS(org.w3c.dom.Element element)
          Scan through Element named XRS.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

document

org.w3c.dom.Document document
Create Document instance


policy

private Policy policy

role_id

private static java.lang.String role_id

enab_cond

private static Role.RoleCondition enab_cond

activ_cond

private static Role.RoleCondition activ_cond

simp_pred

private static LogicalExpr.SimplePredicate simp_pred

expr_count

private static int expr_count

mode

private static int mode
Constructor Detail

XRS_DTDScanner

public XRS_DTDScanner(org.w3c.dom.Document doc_object,
                      Policy p_object)
Create new XRS_DTDScanner with Document and Policy object.

Method Detail

visitDocument

public void visitDocument()
                   throws java.lang.Exception
Scan through Document document.

Throws:
java.lang.Exception

visitElement_DSD_Role_Set_id

void visitElement_DSD_Role_Set_id(org.w3c.dom.Element element)
Scan through Element named DSD_Role_Set_id.


visitElement_SSD_Role_Set_id

void visitElement_SSD_Role_Set_id(org.w3c.dom.Element element)
Scan through Element named SSD_Role_Set_id.


visitElement_XRS

void visitElement_XRS(org.w3c.dom.Element element)
                throws java.lang.Exception
Scan through Element named XRS.

Throws:
java.lang.Exception

visitElement_cardinality

void visitElement_cardinality(org.w3c.dom.Element element)
Scan through Element named cardinality.


visitElement_junior

void visitElement_junior(org.w3c.dom.Element element)
Scan through Element named junior.


visitElement_senior

void visitElement_senior(org.w3c.dom.Element element)
Scan through Element named senior.


visitElement_Attribute

void visitElement_Attribute(org.w3c.dom.Element element)
Scan through Element named attribute.


visitElement_cred_expr

void visitElement_cred_expr(org.w3c.dom.Element element)
Scan through Element named cred_expr.


visitElement_cred_type

void visitElement_cred_type(org.w3c.dom.Element element)
                      throws java.lang.Exception
Scan through Element named cred_type.

Throws:
java.lang.Exception

visitElement_Header

void visitElement_Header(org.w3c.dom.Element element)
                   throws java.lang.Exception
Scan through Element named Header.

Throws:
java.lang.Exception

visitElement_Validity

void visitElement_Validity(org.w3c.dom.Element element)
                     throws java.lang.Exception
Scan through Element named Validity.

Throws:
java.lang.Exception

visitElement_DSig

void visitElement_DSig(org.w3c.dom.Element element)
Scan through Element named DSig.


visitElement_Issuer

void visitElement_Issuer(org.w3c.dom.Element element)
Scan through Element named Issuer.


visitElement_Principal

void visitElement_Principal(org.w3c.dom.Element element)
Scan through Element named Principal.


visitElement_NotOnOrAfter

void visitElement_NotOnOrAfter(org.w3c.dom.Element element)
                         throws java.lang.Exception
Scan through Element named NotOnOrAfter.

Throws:
java.lang.Exception

visitElement_NotBefore

void visitElement_NotBefore(org.w3c.dom.Element element)
                      throws java.lang.Exception
Scan through Element named NotBefore.

Throws:
java.lang.Exception

visitElement_role

void visitElement_role(org.w3c.dom.Element element)
                 throws java.lang.Exception
Scan through Element named role.

Throws:
java.lang.Exception

visitElement_enab_condition

void visitElement_enab_condition(org.w3c.dom.Element element)
Scan through Element named enab_condition.


visitElement_enab_constraint

void visitElement_enab_constraint(org.w3c.dom.Element element)
Scan through Element named enab_constraint.


visitElement_activ_condition

void visitElement_activ_condition(org.w3c.dom.Element element)
Scan through Element named activ_condition.


visitElement_activ_constraint

void visitElement_activ_constraint(org.w3c.dom.Element element)
Scan through Element named activ_constraint.


visitElement_logical_expr

void visitElement_logical_expr(org.w3c.dom.Element element,
                               LogicalExpr logical_expr)
Scan through Element named logical_expr.


visitElement_operator

void visitElement_operator(org.w3c.dom.Element element)
Scan through Element named operator.


visitElement_func_name

void visitElement_func_name(org.w3c.dom.Element element)
Scan through Element named func_name.


visitElement_param_name

void visitElement_param_name(org.w3c.dom.Element element)
Scan through Element named param_name.


visitElement_ret_value

void visitElement_ret_value(org.w3c.dom.Element element)
Scan through Element named ret_value.


visitElement_predicate

void visitElement_predicate(org.w3c.dom.Element element,
                            LogicalExpr logical_expr)
Scan through Element named predicate.