public class PSystemError extends AbstractPSystem
Constructor and Description |
---|
PSystemError(UmlSource source,
ErrorUml singleError) |
PSystemError(UmlSource source,
List<ErrorUml> all) |
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() |
Collection<ErrorUml> |
getErrorsUml() |
int |
getHigherErrorPosition() |
List<String> |
getSuggest() |
String |
getWarningOrError() |
executeCommand, getMetadata, getNbImages, getSource, getTitle, hasUrl, isOk, makeDiagramReady, setSource
public ImageData exportDiagram(OutputStream os, int num, FileFormatOption fileFormat) throws IOException
Diagram
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
public DiagramDescription getDescription()
public final int getHigherErrorPosition()
public final Collection<ErrorUml> getErrorsUml()
public String getWarningOrError()
getWarningOrError
in interface Diagram
getWarningOrError
in class AbstractPSystem
Copyright © 2014. All Rights Reserved.