Class JsonDiagram
- java.lang.Object
-
- net.sourceforge.plantuml.AbstractPSystem
-
- net.sourceforge.plantuml.TitledDiagram
-
- net.sourceforge.plantuml.jsondiagram.JsonDiagram
-
public class JsonDiagram extends TitledDiagram
-
-
Field Summary
-
Fields inherited from class net.sourceforge.plantuml.TitledDiagram
FORCE_ELK, FORCE_SMETANA
-
-
Constructor Summary
Constructors Constructor Description JsonDiagram(UmlSource source, UmlDiagramType type, JsonValue json, java.util.List<java.lang.String> highlighted)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ImageData
exportDiagramNow(java.io.OutputStream os, int index, FileFormatOption fileFormatOption)
DiagramDescription
getDescription()
-
Methods inherited from class net.sourceforge.plantuml.TitledDiagram
addSprite, calculateBackColor, createImageBuilder, getAnimation, getCaption, getCurrentStyleBuilder, getDefaultMargins, getFooter, getHeader, getLegend, getMainFrame, getPragma, getSkinParam, getTitle, getTitleDisplay, getUmlDiagramType, isUseElk, isUseSmetana, loadSkin, setAnimation, setCaption, setLegend, setMainFrame, setParam, setTitle, setUseElk, setUseSmetana
-
Methods inherited from class net.sourceforge.plantuml.AbstractPSystem
checkFinalError, executeCommand, exportDiagram, getMetadata, getNbImages, getScale, getSource, getSplitPagesHorizontal, getSplitPagesVertical, getWarningOrError, hasUrl, isOk, makeDiagramReady, seed, setScale, setSplitPagesHorizontal, setSplitPagesVertical
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sourceforge.plantuml.core.Diagram
exportDiagram, getMetadata, getNbImages, getSource, getSplitPagesHorizontal, getSplitPagesVertical, getWarningOrError, hasUrl
-
-
-
-
Constructor Detail
-
JsonDiagram
public JsonDiagram(UmlSource source, UmlDiagramType type, JsonValue json, java.util.List<java.lang.String> highlighted)
-
-
Method Detail
-
getDescription
public DiagramDescription getDescription()
-
exportDiagramNow
protected ImageData exportDiagramNow(java.io.OutputStream os, int index, FileFormatOption fileFormatOption) throws java.io.IOException
- Specified by:
exportDiagramNow
in classAbstractPSystem
- Throws:
java.io.IOException
-
-