xsdata.formats.plantuml.generator module

class xsdata.formats.plantuml.generator.PlantUmlGenerator[source]

Bases: xsdata.generators.AbstractGenerator

templates_dir: Optional[pathlib.Path] = PosixPath('/home/docs/checkouts/readthedocs.org/user_builds/xsdata/envs/v20.1.1/lib/python3.7/site-packages/xsdata/formats/plantuml/templates')
render_module(output)[source]
Return type

str

render_class(obj)[source]
Return type

str

render(schema, classes, package)[source]

Given a schema, a list of classes and a target package return to the writer factory the target file path and the rendered output.

Return type

Iterator[Tuple[Path, str]]

render_classes()[source]

Sort classes by name and return the rendered output.

Return type

str