Class Image
-
- All Implemented Interfaces:
public class Image
Defines an image file, either as a link (use the url attribute) or as base64-encoded binary data.
Java class for Image complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="Image"> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary"> <attribute name="url" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="mediaType" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}integer" /> <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}integer" /> <attribute name="resolution" type="{http://www.w3.org/2001/XMLSchema}double" /> </extension> </simpleContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description Image()
-
Method Summary
Modifier and Type Method Description Array<byte>
getValue()
Gets the value of the value property. void
setValue(Array<byte> value)
Sets the value of the value property. String
getUrl()
The url to the image if it is stored externally (i.e. void
setUrl(String value)
Sets the value of the url property. String
getMediaType()
The type of the image file, e.g. void
setMediaType(String value)
Sets the value of the mediaType property. BigInteger
getWidth()
The width of the image in pixels. void
setWidth(BigInteger value)
Sets the value of the width property. BigInteger
getHeight()
The height of the image in pixels. void
setHeight(BigInteger value)
Sets the value of the height property. Double
getResolution()
The resolution of the image in dpi. void
setResolution(Double value)
Sets the value of the resolution property. -
-
Method Detail
-
getValue
Array<byte> getValue()
Gets the value of the value property.
- Returns:
possibleobject is byte[]
-
setValue
void setValue(Array<byte> value)
Sets the value of the value property.
- Parameters:
value
- allowed object is byte[]
-
getUrl
String getUrl()
The url to the image if it is stored externally (i.e. not as base64-encoded binary data).
- Returns:
possibleobject is String
-
setUrl
void setUrl(String value)
Sets the value of the url property.
- Parameters:
value
- allowed object is String
-
getMediaType
String getMediaType()
The type of the image file, e.g. image/jpeg. Refer to https://www.iana.org/assignments/media-types/media-types.xhtml#image for available media types.
- Returns:
possibleobject is String
-
setMediaType
void setMediaType(String value)
Sets the value of the mediaType property.
- Parameters:
value
- allowed object is String
-
getWidth
BigInteger getWidth()
The width of the image in pixels.
- Returns:
possibleobject is BigInteger
-
setWidth
void setWidth(BigInteger value)
Sets the value of the width property.
- Parameters:
value
- allowed object is BigInteger
-
getHeight
BigInteger getHeight()
The height of the image in pixels.
- Returns:
possibleobject is BigInteger
-
setHeight
void setHeight(BigInteger value)
Sets the value of the height property.
- Parameters:
value
- allowed object is BigInteger
-
getResolution
Double getResolution()
The resolution of the image in dpi.
- Returns:
possibleobject is Double
-
setResolution
void setResolution(Double value)
Sets the value of the resolution property.
- Parameters:
value
- allowed object is Double
-
-
-
-