![JAR search and dependency download from the Maven repository](/logo.png)
net.sourceforge.plantuml.api.ImageDataSimple Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml-mit Show documentation
Show all versions of plantuml-mit Show documentation
PlantUML is a component that allows to quickly write diagrams from text.
// THIS FILE HAS BEEN GENERATED BY A PREPROCESSOR.
package net.sourceforge.plantuml.api;
import net.sourceforge.plantuml.core.ImageData;
import net.sourceforge.plantuml.klimt.geom.XDimension2D;
public class ImageDataSimple extends ImageDataAbstract {
public ImageDataSimple(int width, int height) {
super(width, height);
}
public ImageDataSimple(XDimension2D dim) {
super(dim);
}
public ImageDataSimple(XDimension2D dim, int status) {
super(dim);
setStatus(status);
}
private ImageDataSimple() {
this(0, 0);
}
public boolean containsCMapData() {
return false;
}
public String getCMapData(String nameId) {
throw new UnsupportedOperationException();
}
public String getWarningOrError() {
return null;
}
public static ImageData error() {
final ImageDataSimple result = new ImageDataSimple();
result.setStatus(503);
return result;
}
public static ImageData ok() {
return new ImageDataSimple();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy