components/policy/tools/template_writers/writers/doc_writer.py
def _AddRangeRestrictionsList(self, parent, schema):
    '''Creates a HTML list containing range restrictions for an integer type
    policy.

    Args:
      parent: The DOM node for which the list will be added.
      schema: The schema of the policy.
    '''
    ul = self._AddStyledElement(parent, 'ul', ['ul'])
    if 'minimum' in schema:
      text_min = self.GetLocalizedMessage('range_minimum')
      self.AddElement(ul, 'li', {}, text_min + str(schema['minimum']))
    if 'maximum' in schema:
      text_max = self.GetLocalizedMessage('range_maximum')
      self.AddElement(ul, 'li', {}, text_max + str(schema['maximum']))
Creates a HTML list containing range restrictions for an integer type
    policy.

    Args:
      parent: The DOM node for which the list will be added.
      schema: The schema of the policy.
    
Creates a HTML list containing range restrictions for an integer type
policy.
Creates a HTML list containing range restrictions for an integer type policy .
def _AddRangeRestrictionsList(self, parent, schema):
    ul = self._AddStyledElement(parent, 'ul', ['ul'])
    if 'minimum' in schema:
      text_min = self.GetLocalizedMessage('range_minimum')
      self.AddElement(ul, 'li', {}, text_min + str(schema['minimum']))
    if 'maximum' in schema:
      text_max = self.GetLocalizedMessage('range_maximum')
      self.AddElement(ul, 'li', {}, text_max + str(schema['maximum']))
def _AddRangeRestrictionsList ( self , parent , schema ) : ul = self . _AddStyledElement ( parent , 'ul' , [ 'ul' ] ) if 'minimum' in schema : text_min = self . GetLocalizedMessage ( 'range_minimum' ) self . AddElement ( ul , 'li' , { } , text_min + str ( schema [ 'minimum' ] ) ) if 'maximum' in schema : text_max = self . GetLocalizedMessage ( 'range_maximum' ) self . AddElement ( ul , 'li' , { } , text_max + str ( schema [ 'maximum' ] ) )
Creates a HTML list containing range restrictions for an integer type
policy.
Creates a HTML list containing range restrictions for an integer type policy .
'''Creates a HTML list containing range restrictions for an integer type
    policy.

    Args:
      parent: The DOM node for which the list will be added.
      schema: The schema of the policy.
    '''
self
parent
The DOM node for which the list will be added.
The DOM node for which the list will be added .
schema
The schema of the policy.
The schema of the policy .