public interface Diagram
Modifier and Type | Method and Description |
---|---|
ImageData |
exportDiagram(OutputStream os,
int num,
FileFormatOption fileFormat)
Export the diagram as an image to some format.
|
DiagramDescription |
getDescription() |
String |
getMetadata() |
int |
getNbImages()
Number of images in this diagram (usually, 1)
|
UmlSource |
getSource()
The original source of the diagram
|
String |
getWarningOrError() |
boolean |
hasUrl()
Check if the Diagram have some links.
|
ImageData exportDiagram(OutputStream os, int num, FileFormatOption fileFormat) throws IOException
new page
for sequence diagram for example).os
- where to write the imagenum
- useually 0 (index of the image to be exported for this diagram).fileFormat
- file format to useIOException
int getNbImages()
DiagramDescription getDescription()
String getMetadata()
String getWarningOrError()
UmlSource getSource()
boolean hasUrl()
Copyright © 2014. All Rights Reserved.