Interface XmiClassDiagramCustom

  • All Superinterfaces:
    XmlDiagramTransformer

    public interface XmiClassDiagramCustom
    extends XmlDiagramTransformer
    Custom interface for managing a XMI transformation of a class diagram. The scope of this interface is to be implemented by an external service, which is loaded by PlantUML at runtime via dependency injection.
    • Method Detail

      • diagramToXmi

        void diagramToXmi​(ClassDiagram diagram)
                   throws javax.xml.parsers.ParserConfigurationException
        Convert a class diagram to a XMI object, which will be kept internal and finally transformed by the XmlDiagramTransformer implementation.
        Parameters:
        diagram - the class diagram to convert.
        Throws:
        javax.xml.parsers.ParserConfigurationException - if the class diagram cannot be parsed.