- Timestamp:
- 13/08/10 15:20:05 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TI12-security/trunk/ndg_xacml/ndg/xacml/core/attributevalue.py
r7109 r7324 108 108 __slots__ = ('__value',) 109 109 110 def __init__(self): 111 """Derived classes must override setting TYPE class variable""" 110 def __init__(self, value=None): 111 """Derived classes must override setting TYPE class variable 112 113 @param value: initialise the attribute value by setting this keyword 114 @type value: (set by self.__class__.TYPE) 115 """ 112 116 113 117 super(AttributeValue, self).__init__() … … 120 124 # Allow derived classes to make an implicit data type setting 121 125 self.dataType = self.__class__.IDENTIFIER 126 127 if value is not None: 128 self.value = value 122 129 123 130 def __repr__(self):
Note: See TracChangeset
for help on using the changeset viewer.