Class JsonDiagram
java.lang.Object
net.sourceforge.plantuml.AbstractPSystem
net.sourceforge.plantuml.TitledDiagram
net.sourceforge.plantuml.jsondiagram.JsonDiagram
- All Implemented Interfaces:
Annotated,Diagram,WarningHandler
-
Field Summary
Fields inherited from class net.sourceforge.plantuml.TitledDiagram
FORCE_ELK, FORCE_SMETANA -
Constructor Summary
ConstructorsConstructorDescriptionJsonDiagram(UmlSource source, UmlDiagramType type, JsonValue json, List<Highlighted> highlighted, StyleExtractor styleExtractor, PreprocessingArtifact preprocessing) -
Method Summary
Modifier and TypeMethodDescriptionprotected ImageDataexportDiagramNow(OutputStream os, int index, FileFormatOption fileFormatOption) protected TextBlockgetTextMainBlock(FileFormatOption fileFormatOption) Methods inherited from class net.sourceforge.plantuml.TitledDiagram
addSprite, addWarning, calculateBackColor, createImageBuilder, exportDiagramGraphic, getCaption, getCurrentStyleBuilder, getDefaultMargins, getFooter, getHeader, getLegend, getMainFrame, getPragma, getSkinParam, getTitle, getTitleDisplay, getUmlDiagramType, getWarnings, isUseElk, isUseSmetana, loadSkin, muteColorMapper, setCaption, setLegend, setMainFrame, setParam, setTitle, setUseElk, setUseSmetanaMethods inherited from class net.sourceforge.plantuml.AbstractPSystem
checkFinalError, executeCommand, exportDiagram, getMetadata, getNamespaceSeparator, getNbImages, getPreprocessingArtifact, getRequiredPass, getScale, getSource, getSplitPagesHorizontal, getSplitPagesVertical, getWarningOrError, hasUrl, isOk, makeDiagramReady, seed, setNamespaceSeparator, setScale, setSplitPagesHorizontal, setSplitPagesVertical, startingPassMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sourceforge.plantuml.core.Diagram
exportDiagram, getMetadata, getNbImages, getSource, getSplitPagesHorizontal, getSplitPagesVertical, getWarningOrError, hasUrl
-
Constructor Details
-
JsonDiagram
public JsonDiagram(UmlSource source, UmlDiagramType type, JsonValue json, List<Highlighted> highlighted, StyleExtractor styleExtractor, PreprocessingArtifact preprocessing)
-
-
Method Details
-
getDescription
-
exportDiagramNow
protected ImageData exportDiagramNow(OutputStream os, int index, FileFormatOption fileFormatOption) throws IOException - Specified by:
exportDiagramNowin classAbstractPSystem- Throws:
IOException
-
getTextMainBlock
- Specified by:
getTextMainBlockin classTitledDiagram
-