Class Document

java.lang.Object
cli.java2umltext.model.Document
All Implemented Interfaces:
UML
Direct Known Subclasses:
MermaidDocument, PlantUMLDocument

public abstract class Document extends Object implements UML
  • Field Details

  • Constructor Details

    • Document

      public Document()
  • Method Details

    • addClass

      public ClassWrapper addClass(String pkg, String type, String name)
    • addRelationship

      public void addRelationship(Relationship r)
    • removeForeignRelations

      public void removeForeignRelations()
      Remove relationships involving classes that are not declared in the Document.
    • export

      public String export()
    • getHeader

      protected abstract String getHeader()
    • getFooter

      protected abstract String getFooter()
    • exportClass

      protected abstract String exportClass(ClassWrapper cw)
    • exportRelationship

      protected abstract String exportRelationship(Relationship r)