Package g4ds :: Module messagewrapper :: Class PolicyFileWrapper
[show private | hide private]
[frames | no frames]

Class PolicyFileWrapper

GenericWrapper --+
                 |
                PolicyFileWrapper


Parses permission policy files.
Method Summary
  __init__(self)
Yet empty constructor.
List of Dict / List of Dict / List of Dict parsePolicyString(self, policy)
Parses a policy and returns the contents in form of dictionaries.
Inherited from GenericWrapper: unwrapActionAndData, unwrapArgsAndDatas, wrapActionAndData, wrapArgsAndDatas

Method Details

__init__(self)
(Constructor)

Yet empty constructor.
Overrides:
g4ds.messagewrapper.GenericWrapper.__init__

parsePolicyString(self, policy)

Parses a policy and returns the contents in form of dictionaries.
Parameters:
policy - Policy in XML encoded String represenation
           (type=String)
Returns:
The extracted Rolesets / Groups / Rulesets
           (type=List of Dict / List of Dict / List of Dict)

Generated by Epydoc 2.0 on Sat Oct 22 22:52:47 2005 http://epydoc.sf.net