lib.renderer.extract.xml_

Module Contents

Classes

Renderer(self,info)
class Renderer(info)
__init__(info)

Creates a new XML renderer instance for extract rendering.

Args:
info (pyramid.interfaces.IRendererInfo): Info object.
__call__(value, system)

Returns the XML encoded extract, according to the specification.

Args:
value (tuple): A tuple containing the generated extract record and the params
dictionary.

system (dict): The available system properties.

Returns:
str: The XML encoded extract.
_get_gml_id()

Returns the next GML ID.

Returns:
int: The next GML ID.
_get_document_type(document)

Returns the documents xsi type.

Args:
document (pyramid_oereb.lib.records.documents.DocumentRecord): The document record.
Returns:
str: The documents xsi type