Class BaseMapInfo
- java.lang.Object
-
- com.microstrategy.utils.config.AbstractConfigurationElement
-
- com.microstrategy.web.config.esri.BaseMapInfo
-
- All Implemented Interfaces:
ConfigurationElement
,ConfigurationFile
,java.lang.Cloneable
public class BaseMapInfo extends AbstractConfigurationElement
-
-
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
ATT_KEY
static java.lang.String
IS_DYN
static java.lang.String
NODE_BASEMAP
static java.lang.String
PROXY_URL
-
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 BaseMapInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
exportNodeValueToXML(org.w3c.dom.Element element, ConfigurationSource source)
Appends the node value associated with the given source key into the given node.java.lang.String
getIsDyn()
java.lang.String
getKey()
Default implementation forgetKey()
.protected java.lang.String
getKeyAttribute()
This method must return the attribute that uniquely identifies this element among its siblings; if no single attribute can be used, return null and override thegetKey
andsetKey
methods.java.lang.String
getProxyURL()
void
setIsDyn(java.lang.String isDyn)
void
setKey(java.lang.String key)
void
setProxyURL(java.lang.String proxy)
protected boolean
useNodeValue()
Controls whether this element will use the node value as a property.-
Methods inherited from class com.microstrategy.utils.config.AbstractConfigurationElement
addFileSource, applyCustomization, applyCustomizations, cleanUpDeletedElements, clone, delete, deltas, deltas, equalAtts, equalElements, equalNodeValues, equals, equalsIncludingDeletedElements, exportAttributesToXML, exportElementsToXML, getAttribute, getAttributes, getBoolAttribute, getChildKey, getConfigSrc, getDTDFileName, getElement, getElement, getElements, getFileLoader, getIntAttribute, getIntAttribute, 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, useValidation
-
-
-
-
Field Detail
-
NODE_BASEMAP
public static final java.lang.String NODE_BASEMAP
- See Also:
- Constant Field Values
-
ATT_KEY
public static final java.lang.String ATT_KEY
- See Also:
- Constant Field Values
-
IS_DYN
public static final java.lang.String IS_DYN
- See Also:
- Constant Field Values
-
PROXY_URL
public static final java.lang.String PROXY_URL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getKeyAttribute
protected java.lang.String getKeyAttribute()
Description copied from class:AbstractConfigurationElement
This method must return the attribute that uniquely identifies this element among its siblings; if no single attribute can be used, return null and override thegetKey
andsetKey
methods.- Specified by:
getKeyAttribute
in classAbstractConfigurationElement
-
getKey
public java.lang.String getKey()
Description copied from class:AbstractConfigurationElement
Default implementation forgetKey()
. It assumes a single attribute can be used to uniquely identify this element among its siblings; the attribute to use is specified by thegetKeyAttribute()
method.- Specified by:
getKey
in interfaceConfigurationElement
- Overrides:
getKey
in classAbstractConfigurationElement
- Returns:
- If
getKeyAttribute()
is empty returnsnull
, otherwise it returns the value of the given attribute.
-
setKey
public void setKey(java.lang.String key)
-
getIsDyn
public java.lang.String getIsDyn()
-
setIsDyn
public void setIsDyn(java.lang.String isDyn)
-
getProxyURL
public java.lang.String getProxyURL()
-
setProxyURL
public void setProxyURL(java.lang.String proxy)
-
useNodeValue
protected boolean useNodeValue()
Description copied from class:AbstractConfigurationElement
Controls whether this element will use the node value as a property. For example, nodes defined as:
can expose a property which will return the node's value (This is the node vale). When this is the case, though, the element can't have any sub elements. They're mutually exclusive.<a att="1">This is the node value</a>
- Overrides:
useNodeValue
in classAbstractConfigurationElement
- Returns:
false
by default. Override this method if you want to associate the node value with some property.
-
exportNodeValueToXML
protected void exportNodeValueToXML(org.w3c.dom.Element element, ConfigurationSource source)
Description copied from class:AbstractConfigurationElement
Appends the node value associated with the given source key into the given node. IfsourceKey
isnull
, it appends the current node value.- Overrides:
exportNodeValueToXML
in classAbstractConfigurationElement
-
-