Package ndg :: Package xacml :: Package parsers :: Class AbstractReader
[hide private]

Class AbstractReader

source code

object --+
         |
        AbstractReader
Known Subclasses:

Abstract base class for XACML reader

Nested Classes [hide private]
  __metaclass__
Metaclass for defining Abstract Base Classes (ABCs).
Instance Methods [hide private]
 
__call__(self, obj, common)
Abstract Parse XACML method
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__

Class Methods [hide private]
 
__subclasshook__(cls, C)
Derived class must implement __call__
source code
XacmlCoreBase sub type
parse(cls, obj, common)
Parse from input object and return new XACML object
source code
Class Variables [hide private]
  __abstractmethods__ = frozenset(['__call__'])
  _abc_cache = <_weakrefset.WeakSet object at 0x1011a6c90>
  _abc_negative_cache = <_weakrefset.WeakSet object at 0x1011a6d10>
  _abc_negative_cache_version = 10
  _abc_registry = <_weakrefset.WeakSet object at 0x1011a6c10>
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__subclasshook__(cls, C)
Class Method

source code 

Derived class must implement __call__

Overrides: object.__subclasshook__

__call__(self, obj, common)
(Call operator)

source code 

Abstract Parse XACML method

Decorators:
  • @abstractmethod
Raises:
  • NotImplementedError

parse(cls, obj, common)
Class Method

source code 

Parse from input object and return new XACML object

Parameters:
  • obj (string, stream or other) - input source - file name, stream object or other
Returns: XacmlCoreBase sub type
new XACML object