Class ClassDiagram


public class ClassDiagram extends Diagram
UML diagram for a single class.
  • Constructor Details

  • Method Details

    • getType

      public Type getType()
    • addChild

      public void addChild(UMLNode child)
      Overrides:
      addChild in class UMLNode
    • writeChildrenTo

      protected <IPW extends IndentingPrintWriter> IPW writeChildrenTo(IPW output)
      Description copied from class: UMLNode
      Helper method to write all children to the specified output.
      Overrides:
      writeChildrenTo in class UMLNode
      Type Parameters:
      IPW - The subclass of indenting print writer being written to.
      Parameters:
      output - The output to write the children to.
      Returns:
      A reference to the output for method chaining purposes.
    • getPlantUmlFile

      protected File getPlantUmlFile()
      Description copied from class: Diagram
      Determine the physical file location for the plantuml output.

      This will even be called if -createPumlFiles is not enabled, to determine the Diagram.getDiagramBaseFile().

      Specified by:
      getPlantUmlFile in class Diagram
      Returns:
      The physical file for the plantuml output.