public class

LayoutSourceDefnsImpl

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

Class Overview

The LayoutSourceDefnsImpl class implements the LayoutSourceDefns interface for the Style Catalog.

Summary

Constants
String NODE_LAYOUT_SOURCE_DEFNS
[Expand]
Inherited Constants
From class com.microstrategy.utils.config.AbstractConfigurationElement
Public Constructors
LayoutSourceDefnsImpl()
Public Methods
LayoutSourceDefn getLayoutSourceDefn(String name)
Gets the LayoutSourceDefn associated with a given name.
LayoutSourceDefn getLayoutSourceDefn(int index)
Gets the LayoutSourceDefn associated with supplied index.
LayoutSourceDefn newLayoutSourceDefn(String layoutSourceName)
Creates a new layout source 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.LayoutSourceDefns

Constants

protected static final String NODE_LAYOUT_SOURCE_DEFNS

Constant Value: "LayoutSourceDefns"

Public Constructors

public LayoutSourceDefnsImpl ()

Public Methods

public LayoutSourceDefn getLayoutSourceDefn (String name)

Gets the LayoutSourceDefn associated with a given name.

Parameters
name The name of the layout source definition object to return.
Returns
Throws
IllegalArgumentException

public LayoutSourceDefn getLayoutSourceDefn (int index)

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

Parameters
index The index of the LayoutSourceDefn to return.
Returns
Throws
IndexOutOfBoundsException

public LayoutSourceDefn newLayoutSourceDefn (String layoutSourceName)

Creates a new layout source definition object with the supplied name.

Parameters
layoutSourceName The name of the new LayoutSourceDefn object to create.
Returns
  • The new layout source definition object.
Throws
IllegalArgumentException
UnsupportedOperationException

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.