Class WebmapLabelExpression


  • public final class WebmapLabelExpression
    extends LabelExpression
    The label Webmap expression expects to hold a legal, Webmap script and to be read and evaluated by a Webmap expression interpreter. An example expression that combines text with a field value is
     State {State_Name}
     

    Note that quotes are not needed around the literal text.

    Since:
    100.11.0
    • Constructor Summary

      Constructors 
      Constructor Description
      WebmapLabelExpression()
      Creates a label Webmap expression with an empty expression script.
      WebmapLabelExpression​(java.lang.String webmapExpression)
      Creates a label Webmap expression with a specific Webmap script.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WebmapLabelExpression

        public WebmapLabelExpression()
        Creates a label Webmap expression with an empty expression script.

        An empty script is a legal Webmap expression that will evaluate to an empty string.

        Since:
        100.11.0
      • WebmapLabelExpression

        public WebmapLabelExpression​(java.lang.String webmapExpression)
        Creates a label Webmap expression with a specific Webmap script.

        The expression is expected to be a complete, self-contained Webmap expression.

        Parameters:
        webmapExpression - the Webmap expression script string
        Throws:
        java.lang.IllegalArgumentException - if webmapExpression is null
        Since:
        100.11.0