Package com.microstrategy.web.transform
Class LayoutsImpl
- java.lang.Object
-
- com.microstrategy.utils.config.AbstractConfigurationElement
-
- com.microstrategy.utils.config.AbstractElementList
-
- com.microstrategy.web.transform.AbstractStyleCatalogList
-
- com.microstrategy.web.transform.LayoutsImpl
-
- All Implemented Interfaces:
ConfigurationElement
,ConfigurationFile
,Layouts
,java.lang.Cloneable
public class LayoutsImpl extends AbstractStyleCatalogList implements Layouts
The LayoutsImpl class implements the Layout interface for the Style Catalog.- 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
NODE_LAYOUTS
-
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 LayoutsImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Layout
getLayout()
Layout
getLayout(int index)
Gets theLayout
associated with supplied index.LayoutTag
getLayoutDefinition(LayoutParser desiredParser)
This method returns the in-memory representation of the layout definition to use with this specific style.protected java.lang.Class
getListClass()
Returns theClass
items beloging to this list will be instance of.protected java.lang.String
getListNodeName()
Returns the name of the node representing children of this list.Layout
newLayout()
Creates a new layout object.-
Methods inherited from class com.microstrategy.web.transform.AbstractStyleCatalogList
clearCaches, getCount, getStyleCatalog, newItem, reload, remove, remove
-
Methods inherited from class com.microstrategy.utils.config.AbstractElementList
clear, containsKey, get, get, getKeyAttribute, getList, isEmpty, put, put, size
-
Methods inherited from class com.microstrategy.utils.config.AbstractConfigurationElement
addFileSource, applyCustomization, applyCustomizations, cleanUpDeletedElements, clone, 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, 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_LAYOUTS
protected static final java.lang.String NODE_LAYOUTS
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
-
Method Detail
-
getLayout
public Layout getLayout(int index) throws java.lang.IndexOutOfBoundsException
Description copied from interface:Layouts
Gets theLayout
associated with supplied index. A valid index begins at 0 and continues togetCount() - 1
.
-
getLayout
public Layout getLayout()
- Since:
- MicroStrategy Web 9.0.0
-
newLayout
public Layout newLayout() throws java.lang.UnsupportedOperationException
Description copied from interface:Layouts
Creates a new layout object.
-
getLayoutDefinition
public LayoutTag getLayoutDefinition(LayoutParser desiredParser) throws WebTransformException
Description copied from interface:Layouts
This method returns the in-memory representation of the layout definition to use with this specific style. This object may be the result of a parse operation or it may have been previously cached (and simply returned). IndividualLayout
objects are ordered in this object by decreasing precedence order (seeLayout.getOrder()
). Each one is evaluated until the underlying layout returns a valid, non-nullLayoutTag
object.- Specified by:
getLayoutDefinition
in interfaceLayouts
- Parameters:
desiredParser
- If a layout definition needs to be parsed, then use the suppliedLayoutParser
object.- Returns:
- The in-memory representation of the layout definition (in the form of a root
- Throws:
WebTransformException
- thrown if there is any error occurred.LayoutTag
tag).
-
getListClass
protected java.lang.Class getListClass()
Description copied from class:AbstractElementList
Returns theClass
items beloging to this list will be instance of.- Specified by:
getListClass
in classAbstractElementList
- Since:
- MicroStrategy Web 9.0.0
-
getListNodeName
protected java.lang.String getListNodeName()
Description copied from class:AbstractElementList
Returns the name of the node representing children of this list.- Specified by:
getListNodeName
in classAbstractElementList
- Since:
- MicroStrategy Web 9.0.0
-
-