public class

PropertySets

extends AbstractConfigurationElementList
java.lang.Object
   ↳ com.microstrategy.utils.config.AbstractConfigurationElement
     ↳ com.microstrategy.utils.config.AbstractConfigurationElementList
       ↳ com.microstrategy.web.app.PropertySets

Class Overview

The PropertySets class is a collection of property sets used to define formatting properties

Summary

Constants
String ATT_NAME xml attribute name for the name of the PropertySet
String NODE_PROPERTY_SETS constant for the PropertySets node name
[Expand]
Inherited Constants
From class com.microstrategy.utils.config.AbstractConfigurationElementList
From class com.microstrategy.utils.config.AbstractConfigurationElement
Public Constructors
PropertySets()
Class constructor.
PropertySets(Node root)
Class constructor.
PropertySets(Document doc)
Class constructor.
Public Methods
Property getProperty(String propertySetName, String propertyName)
PropertySet getPropertySet(String propertySetName)
Protected Methods
void initDefaultAttributes()
This method can be overridden to set default values for attributes.
[Expand]
Inherited Methods
From class com.microstrategy.utils.config.AbstractConfigurationElementList
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.ConfigurationElementList
From interface com.microstrategy.utils.config.ConfigurationFile

Constants

protected static final String ATT_NAME

xml attribute name for the name of the PropertySet

Constant Value: "name"

protected static final String NODE_PROPERTY_SETS

constant for the PropertySets node name

Constant Value: "propertySets"

Public Constructors

public PropertySets ()

Class constructor. Initializes a new -empty- instance of the PropertySets class.

public PropertySets (Node root)

Class constructor. Initializes a PropertySets instance based on the information included in the XML Node

Parameters
root Node instance representing the PropertySets information.

public PropertySets (Document doc)

Class constructor. Initializes a PropertySets instance based on the information included in the DOM Document

Parameters
doc Document instance representing the PropertySets information.

Public Methods

public Property getProperty (String propertySetName, String propertyName)

Parameters
propertySetName string representing the name of the PropertySet
propertyName string representing the name of the Property to return
Returns
  • a Property by the property set name and the property name.

public PropertySet getPropertySet (String propertySetName)

Parameters
propertySetName string representing the name of the PropertySet to return
Returns

Protected Methods

protected void initDefaultAttributes ()

This method can be overridden to set default values for attributes. Simply extend this method and call setAttribute(String, Object)