Method from org.apache.jempbox.xmp.Thumbnail Detail: |
public Element getElement() {
return parent;
}
Get the underlying XML element. |
public String getFormat() {
return XMLUtil.getStringValue( parent, "xapGImg:format" );
}
Get the format of the thumbnail. See FORMAT_XXX constants. |
public Integer getHeight() {
return XMLUtil.getIntValue( parent, "xapGImg:height" );
}
Get the height of the image in pixels. |
public String getImage() {
return XMLUtil.getStringValue( parent, "xapGImg:format" );
}
Get the image data in base 64 encoding. |
public Integer getWidth() {
return XMLUtil.getIntValue( parent, "xapGImg:width" );
}
Get the width of the image in pixels. |
public void setFormat(String format) {
XMLUtil.setStringValue( parent, "xapGImg:format", format );
}
Set the format of the thumbnail, currently only JPEG is supported. See FORMAT_XXX constants. |
public void setHeight(Integer height) {
XMLUtil.setIntValue( parent, "xapGImg:height", height );
}
Set the height of the element. |
public void setImage(String image) {
XMLUtil.setStringValue( parent, "xapGImg:image", image );
}
Set the image data in base 64 encoding. |
public void setWidth(Integer width) {
XMLUtil.setIntValue( parent, "xapGImg:width", width );
}
Set the width of the element. |