Package es.gob.afirma.mreport.items
Class AImage
- java.lang.Object
-
- es.gob.afirma.mreport.items.AImage
-
- Direct Known Subclasses:
BarcodeImage,PageDocumentImage
public abstract class AImage extends java.lang.ObjectClass that contains information about an image that will be include in a signature report.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.0, 19/08/2020.
-
-
Constructor Summary
Constructors Constructor Description AImage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getContent()Gets the value of the bytes array of the image.java.lang.StringgetContentType()Gets the value of the image content type.java.lang.StringgetLocation()Gets the value of the URL location.voidsetContent(byte[] attContent)Sets the value of the bytes array of the image.voidsetContentType(java.lang.String type)Sets the value of the image content type.voidsetLocation(java.lang.String url)Sets the value of the URL location.
-
-
-
Method Detail
-
getLocation
public java.lang.String getLocation()
Gets the value of the URL location.- Returns:
- the value of the URL location.
-
setLocation
public void setLocation(java.lang.String url)
Sets the value of the URL location.- Parameters:
url- The value for the URL location.
-
getContent
public byte[] getContent()
Gets the value of the bytes array of the image.- Returns:
- the value of the bytes array of the image.
-
setContent
public void setContent(byte[] attContent)
Sets the value of the bytes array of the image.- Parameters:
attContent- The value for the bytes array of the image.
-
getContentType
public java.lang.String getContentType()
Gets the value of the image content type.- Returns:
- the value of the image content type.
-
setContentType
public void setContentType(java.lang.String type)
Sets the value of the image content type.- Parameters:
type- The value for the image content type.
-
-