Interface ExternalMark


  • public interface ExternalMark
    The alternative to a WellKnownName is an external mark format. The MarkIndex allows an individual mark in a mark archive to be selected. An example format for an external mark archive would be a TrueType font file, with MarkIndex being used to select an individual glyph from that file.
    Since:
    GeoAPI 2.2
    • Method Detail

      • getOnlineResource

        @XmlElement("OnlineResource")
        OnlineResource getOnlineResource()
        Returns on online resource defined by a URI. Both OnlineResource and InlineContent can't be null and both can't be set at the same time.
        Returns:
        OnlineResource or null
      • getInlineContent

        @XmlElement("InlineContent")
        Icon getInlineContent()
        Returns on inline content. Both OnlineResource and InlineContent can't be null and both can't be set at the same time.
        Returns:
        InlineContent or null
      • getFormat

        @XmlElement("Format")
        String getFormat()
        Returns the mime type of the onlineResource/InlineContent
        Returns:
        mime type
      • getMarkIndex

        @XmlElement("MarkIndex")
        int getMarkIndex()
        Returns an integer value that can used for accessing a particular Font character in a TTF file or a catalog for example.
      • accept

        Object accept​(StyleVisitor visitor,
                      Object extraData)
        calls the visit method of a StyleVisitor
        Parameters:
        visitor - the style visitor