Documentation of 'org.opengis.sld.ExternalGraphic' Java class
ExternalGraphic
org.opengis.sld

Interface ExternalGraphic

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.lang.String getFormat()
      Returns the format that the image should be parsed as.
      byte[] getInlineContent()
      Returns the array of bytes that comprise the image.
      java.lang.String getOnlineResource()
      Returns a URL to a file (perhaps a local file) that contains an image.
      void setFormat(java.lang.String format)
      Sets the format that the image should be parsed as.
      void setInlineContent(byte[] content)
      Sets the array of bytes that comprise the image.
      void setOnlineResource(java.lang.String url)
      Sets the URL to a file (perhaps a local file) that contains an image.
    • Method Detail

      • getOnlineResource

        @XmlElement(value="OnlineResource")
        java.lang.String getOnlineResource()
        Returns a URL to a file (perhaps a local file) that contains an image. This can be null if the image is already loaded locally and the InlineContent property is set.
      • setOnlineResource

        @XmlElement(value="OnlineResource")
        void setOnlineResource(java.lang.String url)
        Sets the URL to a file (perhaps a local file) that contains an image. See getOnlineResource() for details.
      • getInlineContent

        byte[] getInlineContent()
        Returns the array of bytes that comprise the image. This overrides the OnlineResource property, if it is set.
      • setInlineContent

        void setInlineContent(byte[] content)
        Sets the array of bytes that comprise the image. See getInlineContent() for details.
      • getFormat

        java.lang.String getFormat()
        Returns the format that the image should be parsed as. This can be null if the rendering engine should attempt to guess the format of the file, perhaps based on its name. The format string is a mime type, such as "image/jpeg".
      • setFormat

        void setFormat(java.lang.String format)
        Sets the format that the image should be parsed as. See getFormat() for details.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.