Package com.microstrategy.web.app
Class PropertySets
- java.lang.Object
-
- com.microstrategy.utils.config.AbstractConfigurationElement
-
- com.microstrategy.utils.config.AbstractConfigurationElementList
-
- com.microstrategy.web.app.PropertySets
-
- All Implemented Interfaces:
ConfigurationElement
,ConfigurationElementList
,ConfigurationFile
,java.lang.Cloneable
public class PropertySets extends AbstractConfigurationElementList
The PropertySets class is a collection of property sets used to define formatting properties- Since:
- MicroStrategy Web 8.0.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.microstrategy.utils.config.AbstractConfigurationElement
AbstractConfigurationElement.FilteredList
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
ATT_NAME
xml attribute name for the name of the PropertySetprotected static java.lang.String
NODE_PROPERTY_SETS
constant for the PropertySets node name-
Fields inherited from class com.microstrategy.utils.config.AbstractConfigurationElementList
ATT_VERSION
-
Fields inherited from class com.microstrategy.utils.config.AbstractConfigurationElement
ATT_CONFIG_SRC, ATT_DELETED, ATT_POSITION, ATT_PROTOTYPE, ATT_USE_DEFAULT
-
-
Constructor Summary
Constructors Constructor Description PropertySets()
Class constructor.PropertySets(org.w3c.dom.Document doc)
Class constructor.PropertySets(org.w3c.dom.Node root)
Class constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Property
getProperty(java.lang.String propertySetName, java.lang.String propertyName)
PropertySet
getPropertySet(java.lang.String propertySetName)
protected void
initDefaultAttributes()
This method can be overridden to set default values for attributes.-
Methods inherited from class com.microstrategy.utils.config.AbstractConfigurationElementList
clear, clone, get, get, getFilteredList, getKey, getKeyAttribute, getList, getValues, getVersion, init, isEmpty, put, put, registerElementInList, remove, setVersion, size, sort
-
Methods inherited from class com.microstrategy.utils.config.AbstractConfigurationElement
addFileSource, applyCustomization, applyCustomizations, cleanUpDeletedElements, delete, deltas, deltas, equalAtts, equalElements, equalNodeValues, equals, equalsIncludingDeletedElements, exportAttributesToXML, exportElementsToXML, exportNodeValueToXML, getAttribute, getAttributes, getBoolAttribute, getChildKey, getConfigSrc, getDTDFileName, getElement, getElement, getElements, getFileLoader, getIntAttribute, getIntAttribute, getKey, getLineNumber, getList, getNextKey, getNodeName, getNodeValue, getNodeValue, getOrCreateElement, getParent, getPosition, getPrototype, getRegisteredClass, getSelfInitPath, getSource, getStrAttribute, getUseDefault, getXMLParserParameters, getXMLSerializerParameters, hashCode, hashCodeAtts, hashCodeElements, hashCodeNodeValues, hasRegisteredClass, initAttributesFromXML, initElementFromXML, initElementsFromXML, initFromFile, initFromResource, initFromXML, initFromXML, initNodeValueFromXML, initPrototype, isActive, isCustomized, isDeleted, isDirty, isInSource, isKeyAttribute, load, mergeChanges, newChildInstance, newSource, original, populate, printAttributes, printElements, printNodeValue, refreshLists, registerClass, registerElement, registerElement, registerElementList, reload, reloadPrototype, removeAttribute, removeDefaults, replaceList, restore, save, save, saveChangesAs, saveConfig, saveFlatXML, saveNode, saveSource, setAttribute, setBoolAttribute, setChildOriginals, setConfigSrc, setCustomized, setElement, setFileLoader, setIntAttribute, setKey, setLineNumber, setNodeName, setNodeValue, setPosition, setPrototype, setSelfInitPath, setStrAttribute, setUseDefault, setUseValidation, throwConfigParseException, toString, toXML, toXML, toXML, toXML, useNodeValue, useValidation
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.microstrategy.utils.config.ConfigurationElement
getAttribute, getAttributes, getElement, getElements, getKey, getNodeName, getStrAttribute, initFromXML, reload, toXML
-
-
-
-
Field Detail
-
NODE_PROPERTY_SETS
protected static final java.lang.String NODE_PROPERTY_SETS
constant for the PropertySets node name- See Also:
- Constant Field Values
-
ATT_NAME
protected static final java.lang.String ATT_NAME
xml attribute name for the name of the PropertySet- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PropertySets
public PropertySets()
Class constructor. Initializes a new -empty- instance of the PropertySets class.
-
PropertySets
public PropertySets(org.w3c.dom.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.
-
PropertySets
public PropertySets(org.w3c.dom.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.
-
-
Method Detail
-
initDefaultAttributes
protected void initDefaultAttributes()
Description copied from class:AbstractConfigurationElement
This method can be overridden to set default values for attributes. Simply extend this method and callAbstractConfigurationElement.setAttribute(java.lang.String, java.lang.Object)
- Overrides:
initDefaultAttributes
in classAbstractConfigurationElement
- Since:
- MicroStrategy Web 9.0.0
-
getPropertySet
public PropertySet getPropertySet(java.lang.String propertySetName)
- Parameters:
propertySetName
- string representing the name of the PropertySet to return- Returns:
- a
PropertySet
by its name.
-
getProperty
public Property getProperty(java.lang.String propertySetName, java.lang.String propertyName)
- Parameters:
propertySetName
- string representing the name of the PropertySetpropertyName
- string representing the name of the Property to return- Returns:
- a
Property
by the property set name and the property name.
-
-