Package com.microstrategy.web.transform
Class AbstractStyleCatalogElement
- java.lang.Object
-
- com.microstrategy.utils.config.AbstractConfigurationElement
-
- com.microstrategy.web.transform.AbstractStyleCatalogElement
-
- All Implemented Interfaces:
ConfigurationElement
,ConfigurationFile
,java.lang.Cloneable
- Direct Known Subclasses:
ActualParameterImpl
,BeanDefnImpl
,LayoutImpl
,LayoutParserDefnImpl
,LayoutSourceDefnImpl
,MapperDefnImpl
,StyleCatalogImpl
,StyleImpl
,StyleMapConditionImpl
,StyleMapDefaultImpl
,StyleMapImpl
,TransformDefnImpl
public abstract class AbstractStyleCatalogElement extends AbstractConfigurationElement
- Since:
- MicroStrategy Web 9.0.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.microstrategy.utils.config.AbstractConfigurationElement
AbstractConfigurationElement.FilteredList
-
-
Field Summary
-
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 AbstractStyleCatalogElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
clearCaches()
This method is invoked whenever the structure of the style catalog has changed and caches to other objects in the structure needs to be updated.void
copyContents(AbstractStyleCatalogElement target)
Copies the content (attributes and elements) of thetarget
element into this StyleCatalogElement.protected StyleCatalog
getStyleCatalog()
Returns the instance of the StyleCatalog containing all the elements.protected boolean
hasChanged()
Deprecated.void
reload()
Loops through all theElementSource
of thisConfigurationElement
and reloads the content of those whose underlying configuration file has changed.protected void
resetChanged()
Deprecated.Unsupported operation.protected void
setStrAttribute(java.lang.String name, java.lang.String value)
Helper method, sets the value of the given attribute as a string.-
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, getKeyAttribute, 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, setUseDefault, setUseValidation, throwConfigParseException, toString, toXML, toXML, toXML, toXML, useNodeValue, useValidation
-
-
-
-
Method Detail
-
setStrAttribute
protected void setStrAttribute(java.lang.String name, java.lang.String value)
Description copied from class:AbstractConfigurationElement
Helper method, sets the value of the given attribute as a string.- Overrides:
setStrAttribute
in classAbstractConfigurationElement
-
hasChanged
@Deprecated protected boolean hasChanged()
Deprecated.Equivalent toAbstractConfigurationElement.isDirty()
. Maintained for binary compatibility.
-
resetChanged
@Deprecated protected void resetChanged()
Deprecated.Unsupported operation. Kept only for binary compability.Unsupported operation. Kept only for binary compability.
-
clearCaches
protected void clearCaches()
This method is invoked whenever the structure of the style catalog has changed and caches to other objects in the structure needs to be updated.
-
reload
public void reload() throws ConfigException
Description copied from class:AbstractConfigurationElement
Loops through all theElementSource
of thisConfigurationElement
and reloads the content of those whose underlying configuration file has changed.- Specified by:
reload
in interfaceConfigurationElement
- Specified by:
reload
in interfaceConfigurationFile
- Overrides:
reload
in classAbstractConfigurationElement
- Throws:
ConfigException
-
getStyleCatalog
protected StyleCatalog getStyleCatalog()
Returns the instance of the StyleCatalog containing all the elements.- Returns:
- StyleCatalog
-
copyContents
public void copyContents(AbstractStyleCatalogElement target)
Copies the content (attributes and elements) of thetarget
element into this StyleCatalogElement.
-
-