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 voidclearCaches()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.voidcopyContents(AbstractStyleCatalogElement target)Copies the content (attributes and elements) of thetargetelement into this StyleCatalogElement.protected StyleCataloggetStyleCatalog()Returns the instance of the StyleCatalog containing all the elements.protected booleanhasChanged()Deprecated.voidreload()Loops through all theElementSourceof thisConfigurationElementand reloads the content of those whose underlying configuration file has changed.protected voidresetChanged()Deprecated.Unsupported operation.protected voidsetStrAttribute(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:AbstractConfigurationElementHelper method, sets the value of the given attribute as a string.- Overrides:
 setStrAttributein 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 ConfigExceptionDescription copied from class:AbstractConfigurationElementLoops through all theElementSourceof thisConfigurationElementand reloads the content of those whose underlying configuration file has changed.- Specified by:
 reloadin interfaceConfigurationElement- Specified by:
 reloadin interfaceConfigurationFile- Overrides:
 reloadin 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 thetargetelement into this StyleCatalogElement. 
 - 
 
 -