Package iofXml.v3

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>
    
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      Image()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

      • Image

        Image()
    • 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
      • setResolution

         void setResolution(Double value)

        Sets the value of the resolution property.

        Parameters:
        value - allowed object is Double