Interface ExternalMark

  • All Known Subinterfaces:
    ExternalMark
    All Known Implementing Classes:
    ExternalMarkImpl

    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
    Author:
    Open Geospatial Consortium, Johann Sorel (Geomatys)
    • Method Detail

      • getOnlineResource

        @XmlElement("OnlineResource")
        OnLineResource getOnlineResource()
        Returns on online resource defined by an 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.
        Returns:
        integer
      • accept

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