Lines Matching refs:Metadata
56 A class to parse any XML file that passes validation with metadata-validate.
57 It builds a metadata_model.Metadata graph and then renders it over a
62 metadata: a constructed instance of metadata_model.Metadata
67 metadata model.
70 file_name: path to an XML file that passes metadata-validate
80 self._metadata = Metadata()
89 def metadata(self):
108 self.metadata.insert_tag(tag['id'], tag.string)
117 self.metadata.insert_type(tp['name'], 'typedef', languages=languages)
132 insert = self.metadata.insert_entry
143 insert = self.metadata.insert_clone
150 self.metadata.construct_graph()
245 Render the metadata model using a Mako template as the view.
247 The template gets the metadata as an argument, as well as all
264 ctx = Context(buf, metadata=self.metadata, **helpers)