public class

MapperDefnsImpl

extends AbstractStyleCatalogList
implements MapperDefns
java.lang.Object
   ↳ com.microstrategy.utils.config.AbstractConfigurationElement
     ↳ com.microstrategy.utils.config.AbstractElementList
       ↳ com.microstrategy.web.transform.AbstractStyleCatalogList
         ↳ com.microstrategy.web.transform.MapperDefnsImpl

Class Overview

This class implements the MapperDefns interface for the Style Catalog.

Summary

Constants
String ELEM_NAME_MAPPERDEFNS The name of the mapper definitions element.
[Expand]
Inherited Constants
From class com.microstrategy.utils.config.AbstractConfigurationElement
Public Constructors
MapperDefnsImpl()
Public Methods
MapperDefn getMapperDefn(String name)
Gets the MapperDefn associated with a given name.
MapperDefn getMapperDefn(int index)
Gets the MapperDefn associated with supplied index.
MapperDefn newMapperDefn(String mapperName)
Creates a new mapper definition object with the supplied name.
Protected Methods
Class getListClass()
Returns the Class items beloging to this list will be instance of.
String getListNodeName()
Returns the name of the node representing children of this list.
[Expand]
Inherited Methods
From class com.microstrategy.web.transform.AbstractStyleCatalogList
From class com.microstrategy.utils.config.AbstractElementList
From class com.microstrategy.utils.config.AbstractConfigurationElement
From class java.lang.Object
From interface com.microstrategy.utils.config.ConfigurationElement
From interface com.microstrategy.utils.config.ConfigurationFile
From interface com.microstrategy.web.transform.MapperDefns

Constants

public static final String ELEM_NAME_MAPPERDEFNS

The name of the mapper definitions element.

Constant Value: "MapperDefns"

Public Constructors

public MapperDefnsImpl ()

Public Methods

public MapperDefn getMapperDefn (String name)

Gets the MapperDefn associated with a given name.

Parameters
name The name of the mapper definition object to return.
Returns
Throws
IllegalArgumentException This exception is thrown if the argument does not match one of the stored names.

public MapperDefn getMapperDefn (int index)

Gets the MapperDefn associated with supplied index. A valid index begins at 0 and continues to getCount() - 1.

Parameters
index The index of the MapperDefn to return.
Returns
Throws
IndexOutOfBoundsException This exception is thown if the argument is outside the range of a valid index.

public MapperDefn newMapperDefn (String mapperName)

Creates a new mapper definition object with the supplied name.

Parameters
mapperName The name of the new MapperDefn object to create.
Returns
  • The new mapper definition object.
Throws
IllegalArgumentException This exception is thrown if the argument already matches one of the stored names.
UnsupportedOperationException This exception is thrown if the Style Catalog is in "read only" mode.

Protected Methods

protected Class getListClass ()

Returns the Class items beloging to this list will be instance of.

protected String getListNodeName ()

Returns the name of the node representing children of this list.