Package com.microstrategy.web.app
Class WebBeanInfoList
- java.lang.Object
-
- com.microstrategy.utils.config.AbstractConfigurationElement
-
- com.microstrategy.utils.config.AbstractConfigurationElementList
-
- com.microstrategy.web.app.WebBeanInfoList
-
- All Implemented Interfaces:
ConfigurationElement
,ConfigurationElementList
,ConfigurationFile
,java.lang.Cloneable
public class WebBeanInfoList extends AbstractConfigurationElementList
The WebBeanInfoList class represents a collection of WebBeanInfo objects, corresponding to the beans defined for a given Page.- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.microstrategy.utils.config.AbstractConfigurationElement
AbstractConfigurationElement.FilteredList
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NODE_WEB_BEANS
-
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 WebBeanInfoList()
Class constructor.WebBeanInfoList(org.w3c.dom.Document doc)
Class constructor.WebBeanInfoList(org.w3c.dom.Node root)
Class constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebBeanInfo
getWebBeanInfo(java.lang.String name)
WebBeanInfo
searchWebBeanInfo(java.lang.String key)
Searches whole hierarchy rooted at the current list for the child WebBeanInfo specified the key and returns the search result.-
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, initDefaultAttributes, 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_WEB_BEANS
public static final java.lang.String NODE_WEB_BEANS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WebBeanInfoList
public WebBeanInfoList()
Class constructor. Initializes a new -empty- instance of the WebBeanInfoList class.
-
WebBeanInfoList
public WebBeanInfoList(org.w3c.dom.Node root)
Class constructor. Initializes a WebBeanInfoList instance based on the information included in the XML Node- Parameters:
root
- Node instance representing the shortcut list information.
-
WebBeanInfoList
public WebBeanInfoList(org.w3c.dom.Document doc)
Class constructor. Initializes a WebBeanInfoList instance based on the information included in the DOM Document- Parameters:
doc
- Document instance representing the shortcut list information.
-
-
Method Detail
-
getWebBeanInfo
public WebBeanInfo getWebBeanInfo(java.lang.String name)
- Parameters:
name
- the name of the WebBeanInfo- Returns:
- the WebBeanInfo in the collection with the given name
-
searchWebBeanInfo
public WebBeanInfo searchWebBeanInfo(java.lang.String key)
Searches whole hierarchy rooted at the current list for the child WebBeanInfo specified the key and returns the search result. The search starts with the first children of the current list, if not found, then it propagate to its grand children in depth-first manner.- Parameters:
key
- the key mapped to the child WebBeanInfo to be searched.- Returns:
- the child WebComponent; null if there is no such a component existing in the hierarchy.
- Since:
- MicroStrategy Web 8.0.0
-
-