Class MapperDefnsImpl

    • Field Detail

      • ELEM_NAME_MAPPERDEFNS

        public static final java.lang.String ELEM_NAME_MAPPERDEFNS
        The name of the mapper definitions element.
        See Also:
        Constant Field Values
    • Constructor Detail

      • MapperDefnsImpl

        public MapperDefnsImpl()
    • Method Detail

      • getMapperDefn

        public MapperDefn getMapperDefn​(int index)
                                 throws java.lang.IndexOutOfBoundsException
        Gets the MapperDefn associated with supplied index. A valid index begins at 0 and continues to getCount() - 1.
        Specified by:
        getMapperDefn in interface MapperDefns
        Parameters:
        index - The index of the MapperDefn to return.
        Returns:
        The MapperDefn at the supplied index.
        Throws:
        java.lang.IndexOutOfBoundsException - This exception is thown if the argument is outside the range of a valid index.
      • getMapperDefn

        public MapperDefn getMapperDefn​(java.lang.String name)
                                 throws java.lang.IllegalArgumentException
        Gets the MapperDefn associated with a given name.
        Specified by:
        getMapperDefn in interface MapperDefns
        Parameters:
        name - The name of the mapper definition object to return.
        Returns:
        The MapperDefn object with the supplied name.
        Throws:
        java.lang.IllegalArgumentException - This exception is thrown if the argument does not match one of the stored names.
      • newMapperDefn

        public MapperDefn newMapperDefn​(java.lang.String mapperName)
                                 throws java.lang.IllegalArgumentException,
                                        java.lang.UnsupportedOperationException
        Creates a new mapper definition object with the supplied name.
        Specified by:
        newMapperDefn in interface MapperDefns
        Parameters:
        mapperName - The name of the new MapperDefn object to create.
        Returns:
        The new mapper definition object.
        Throws:
        java.lang.IllegalArgumentException - This exception is thrown if the argument already matches one of the stored names.
        java.lang.UnsupportedOperationException - This exception is thrown if the Style Catalog is in "read only" mode.