Commit 4423a2b5 authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

[lib] Add doc

parent b593c52f
......@@ -39,8 +39,15 @@
##
## Contributor(s): Michel Le Borgne, Nolwenn Le Meur
##
"""
Load and generate Cadbiom xml files
"""Load and generate Cadbiom xml files
Classes::
- :class:`XmlVisitor`: Visitor used to generate xml cadbiom code when the
model is exported.
- :class:`MakeHandler`: Make a handler for the parser when the model is loaded.
- :class:`MakeModelFromXmlFile`: Handy class used to parse an xml file.
- :class:`MakeModelFromXmlString`: Handy class used to parse an xml string.
"""
from __future__ import unicode_literals
from __future__ import print_function
......@@ -460,7 +467,7 @@ class MakeHandler(ContentHandler):
class MakeModelFromXmlFile:
"""Parse a xml file"""
"""Handy class used to parse an xml file"""
def __init__(self, xml_file, model=None):
"""
......@@ -492,7 +499,7 @@ class MakeModelFromXmlFile:
class MakeModelFromXmlString:
"""Parse a xml description as string"""
"""Handy class used to parse an xml string."""
def __init__(self, xml_string):
self.model = None
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment