public class

TransformDefnsImpl

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

Summary

Constants
String NODE_TRANSFORM_DEFNS
[Expand]
Inherited Constants
From class com.microstrategy.utils.config.AbstractConfigurationElement
Public Constructors
TransformDefnsImpl()
Public Methods
void addTransformDefn(TransformDefn transform)
TransformDefn getTransformDefn(String name)
Retrives a specific TransformDefn object by its name.
TransformDefn getTransformDefn(int index)
Retrieves a specific TransformDefn object by its numeric index.
TransformDefn newTransformDefn(String transformName)
Creates a new TransformDefn object and adds it to the collection.
void remove(int index)
Removes an element from the collection.
void remove(int index, boolean removeStyles)
Removes the TransformDefn object at the specified position in the collection.
void remove(String name, boolean removeStyles)
Removes the TransformDefn object with the specified name from the collection.
void remove(String name)
Removes an element from the collection
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.TransformDefns

Constants

protected static final String NODE_TRANSFORM_DEFNS

Constant Value: "TransformDefns"

Public Constructors

public TransformDefnsImpl ()

Public Methods

public void addTransformDefn (TransformDefn transform)

public TransformDefn getTransformDefn (String name)

Retrives a specific TransformDefn object by its name.

Parameters
name the name of the TransformDefn object.
Returns
Throws
IllegalArgumentException

public TransformDefn getTransformDefn (int index)

Retrieves a specific TransformDefn object by its numeric index.

Parameters
index the index of the TransformDefn object in collection.
Returns
Throws
IndexOutOfBoundsException

public TransformDefn newTransformDefn (String transformName)

Creates a new TransformDefn object and adds it to the collection.

Parameters
transformName the name of the new TransformDefn object.
Returns
Throws
IllegalArgumentException
UnsupportedOperationException

public void remove (int index)

Removes an element from the collection.

Parameters
index The position within the valid elements of the element to remove.
Throws
IndexOutOfBoundsException
UnsupportedOperationException

public void remove (int index, boolean removeStyles)

Removes the TransformDefn object at the specified position in the collection.

Parameters
index the index of the TransformDefn object to remove.
removeStyles whether you want to remove the styles associated with the TransformDefn object deleted or not.
Throws
IndexOutOfBoundsException
UnsupportedOperationException

public void remove (String name, boolean removeStyles)

Removes the TransformDefn object with the specified name from the collection.

Parameters
name the name of the TransformDefn object to remove.
removeStyles whether you want to remove the styles associated with the TransformDefn object deleted or not.
Throws
IllegalArgumentException
UnsupportedOperationException

public void remove (String name)

Removes an element from the collection

Parameters
name the key of the object to remove
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.