public class PSystemError extends AbstractPSystem
| Constructor and Description |
|---|
PSystemError(net.sourceforge.plantuml.core.UmlSource source,
ErrorUml singleError,
java.util.List<java.lang.String> debugLines) |
| Modifier and Type | Method and Description |
|---|---|
net.sourceforge.plantuml.core.ImageData |
exportDiagram(java.io.OutputStream os,
int num,
FileFormatOption fileFormat)
Export the diagram as an image to some format.
|
net.sourceforge.plantuml.core.DiagramDescription |
getDescription() |
java.util.Collection<ErrorUml> |
getErrorsUml() |
int |
getHigherErrorPosition() |
LineLocation |
getLineLocation() |
java.util.List<java.lang.String> |
getSuggest() |
java.lang.String |
getWarningOrError() |
static PSystemError |
merge(java.util.Collection<PSystemError> ps) |
executeCommand, getMetadata, getNbImages, getSource, getTitle, hasUrl, isOk, makeDiagramReady, setSourcepublic PSystemError(net.sourceforge.plantuml.core.UmlSource source,
ErrorUml singleError,
java.util.List<java.lang.String> debugLines)
public net.sourceforge.plantuml.core.ImageData exportDiagram(java.io.OutputStream os,
int num,
FileFormatOption fileFormat)
throws java.io.IOException
net.sourceforge.plantuml.core.Diagramnew 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 usejava.io.IOExceptionpublic LineLocation getLineLocation()
public java.util.List<java.lang.String> getSuggest()
public net.sourceforge.plantuml.core.DiagramDescription getDescription()
public final int getHigherErrorPosition()
public final java.util.Collection<ErrorUml> getErrorsUml()
public java.lang.String getWarningOrError()
getWarningOrError in interface net.sourceforge.plantuml.core.DiagramgetWarningOrError in class AbstractPSystempublic static PSystemError merge(java.util.Collection<PSystemError> ps)