importer.rb revision f4d4f82239bc0e3f18e9d59dbae22891b20f40e6
# As there are many approaches to parsing an ontology
# file, we provide two versions:
# new(user, ontology, version: some_version, io: some_io)
# and
# new(user, ontology, path: some_path, io: some_io)
# where some_io needs to be an instance of IO or a Tempfile.
# version object.
end
# Actually performs the import of the ontology file DGXML output.
# Also calls the start and end callbacks, which do not actually
# correspond to an element in the DGXML.
callback.process(:all, :start)
callback.process(:all, :end)
end
end
end
end
end
self.dgnode_stack = []
end
end
end
end