XGTRBAC.scanner
Class XPS_DTDScanner

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

public class XPS_DTDScanner
extends java.lang.Object

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

See Also:
Document, Element, NamedNodeMap

Field Summary
(package private)  org.w3c.dom.Document document
          Create Document instance
private static java.lang.String perm_id
           
private  Policy policy
           
 
Constructor Summary
XPS_DTDScanner(org.w3c.dom.Document doc_object, Policy p_object)
          Create new XPS_DTDScanner with Document and Policy object.
 
Method Summary
 void visitDocument()
          Scan through Document document.
(package private)  void visitElement_object(org.w3c.dom.Element element)
          Scan through Element named object.
(package private)  void visitElement_operation(org.w3c.dom.Element element)
          Scan through Element named operation.
(package private)  void visitElement_permission(org.w3c.dom.Element element)
          Scan through Element named permission.
(package private)  void visitElement_permissions(org.w3c.dom.Element element)
          Scan through Element named permissions.
(package private)  void visitElement_XPS(org.w3c.dom.Element element)
          Scan through Element named XPS.
 
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

perm_id

private static java.lang.String perm_id
Constructor Detail

XPS_DTDScanner

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

Method Detail

visitDocument

public void visitDocument()
Scan through Document document.


visitElement_permissions

void visitElement_permissions(org.w3c.dom.Element element)
Scan through Element named permissions.


visitElement_object

void visitElement_object(org.w3c.dom.Element element)
Scan through Element named object.


visitElement_operation

void visitElement_operation(org.w3c.dom.Element element)
Scan through Element named operation.


visitElement_permission

void visitElement_permission(org.w3c.dom.Element element)
Scan through Element named permission.


visitElement_XPS

void visitElement_XPS(org.w3c.dom.Element element)
Scan through Element named XPS.