Class MapProjection

  • All Implemented Interfaces:
    Visitable, Expression

    @API(status=STABLE,
         since="1.0")
    public final class MapProjection
    extends Object
    implements Expression
    Represents a map projection as described here.
    Author:
    Michael J. Simons
    • Method Detail

      • create

        public static MapProjection create​(SymbolicName name,
                                           Object... content)
        Create a new map projection with the given, mixed content
        Parameters:
        name - The symbolic name of this project
        content - The projected content
        Returns:
        A new map projection
        Since:
        2021.2.3
      • and

        @NotNull
        @Contract(pure=true)
        public @NotNull MapProjection and​(Object... content)
        Adds additional content. The current projection is left unchanged and a new one is returned.
        Parameters:
        content - The additional content for a new projection.
        Returns:
        A new map projection with additional content.
      • accept

        public void accept​(Visitor visitor)
        Description copied from interface: Visitable
        Accept a Visitor visiting this Visitable and its nested Visitables if applicable.
        Specified by:
        accept in interface Visitable
        Parameters:
        visitor - the visitor to notify, must not be null.