Interface XmiDescriptionDiagramCustom

All Superinterfaces:
XmlDiagramTransformer

public interface XmiDescriptionDiagramCustom extends XmlDiagramTransformer
Custom interface for managing a XMI transformation of a description 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 Summary

    Modifier and Type
    Method
    Description
    void
    Convert a description diagram to a XMI object, which will be kept internal and finally transformed by the XmlDiagramTransformer implementation.

    Methods inherited from interface net.sourceforge.plantuml.xmi.XmlDiagramTransformer

    transformerXml
  • Method Details

    • diagramToXmi

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