Package iofXml.v3

Class Image

java.lang.Object
iofXml.v3.Image

public class Image extends Object
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>
 
  • Field Details

    • value

      protected byte[] value
    • url

      protected String url
      The url to the image if it is stored externally (i.e. not as base64-encoded binary data).
    • mediaType

      protected String mediaType
      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.
    • width

      protected BigInteger width
      The width of the image in pixels.
    • height

      protected BigInteger height
      The height of the image in pixels.
    • resolution

      protected Double resolution
      The resolution of the image in dpi.
  • Constructor Details

    • Image

      public Image()
  • Method Details

    • getValue

      public byte[] getValue()
      Gets the value of the value property.
      Returns:
      possible object is byte[]
    • setValue

      public void setValue(byte[] value)
      Sets the value of the value property.
      Parameters:
      value - allowed object is byte[]
    • getUrl

      public String getUrl()
      The url to the image if it is stored externally (i.e. not as base64-encoded binary data).
      Returns:
      possible object is String
    • setUrl

      public void setUrl(String value)
      Sets the value of the url property.
      Parameters:
      value - allowed object is String
      See Also:
    • getMediaType

      public 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:
      possible object is String
    • setMediaType

      public void setMediaType(String value)
      Sets the value of the mediaType property.
      Parameters:
      value - allowed object is String
      See Also:
    • getWidth

      public BigInteger getWidth()
      The width of the image in pixels.
      Returns:
      possible object is BigInteger
    • setWidth

      public void setWidth(BigInteger value)
      Sets the value of the width property.
      Parameters:
      value - allowed object is BigInteger
      See Also:
    • getHeight

      public BigInteger getHeight()
      The height of the image in pixels.
      Returns:
      possible object is BigInteger
    • setHeight

      public void setHeight(BigInteger value)
      Sets the value of the height property.
      Parameters:
      value - allowed object is BigInteger
      See Also:
    • getResolution

      public Double getResolution()
      The resolution of the image in dpi.
      Returns:
      possible object is Double
    • setResolution

      public void setResolution(Double value)
      Sets the value of the resolution property.
      Parameters:
      value - allowed object is Double
      See Also: