Package com.microstrategy.web.beans
Class MessageInfoImpl
- java.lang.Object
-
- com.microstrategy.utils.config.AbstractConfigurationElement
-
- com.microstrategy.web.beans.MessageInfoImpl
-
- All Implemented Interfaces:
ConfigurationElement
,ConfigurationFile
,MessageInfo
,java.lang.Cloneable
public class MessageInfoImpl extends AbstractConfigurationElement implements MessageInfo
- 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 protected static java.lang.String
ATT_CHAR_SET
protected static java.lang.String
ATT_CHAR_SET_EXCEL
protected static java.lang.String
ATT_CODE_PAGE
protected static java.lang.String
ATT_CODE_PAGE_EXCEL
protected static java.lang.String
ATT_COUNTRY
protected static java.lang.String
ATT_DESC
protected static java.lang.String
ATT_DESC_ID
protected static java.lang.String
ATT_HELP_LOCALE_ID
protected static java.lang.String
ATT_LANGUAGE
protected static java.lang.String
ATT_LOCALE_ID
protected static java.lang.String
ATT_VARIANT
protected static java.lang.String
NODE_LOCALE
protected static java.lang.String
NODE_SUPPORTED
-
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 MessageInfoImpl()
MessageInfoImpl(org.w3c.dom.Element e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCharSet()
Returns the character set of this localized message.java.lang.String
getCharSetExcel()
Returns the character set used in Excel of this localized message.int
getCodePage()
Returns the codepage value of this localized message.int
getCodePageExcel()
Returns the codepage value used in Excel of this localized message.java.lang.String
getCountry()
Returns the country of this localized message.java.lang.String
getDesc()
Returns the description of this localized message.java.lang.String
getDescId()
Returns the description ID of this localized message.java.lang.String
getHelpLocaleId(boolean isUser)
Returns the help locale ID of this localized message.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
getLanguage()
Returns the language of this localized message.java.lang.String
getLocaleId()
Returns the locale ID of this localized message.java.lang.String
getVariant()
-
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, 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
-
-
-
-
Field Detail
-
ATT_LOCALE_ID
protected static final java.lang.String ATT_LOCALE_ID
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
ATT_COUNTRY
protected static final java.lang.String ATT_COUNTRY
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
ATT_LANGUAGE
protected static final java.lang.String ATT_LANGUAGE
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
ATT_DESC
protected static final java.lang.String ATT_DESC
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
ATT_DESC_ID
protected static final java.lang.String ATT_DESC_ID
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
ATT_CHAR_SET
protected static final java.lang.String ATT_CHAR_SET
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
ATT_CHAR_SET_EXCEL
protected static final java.lang.String ATT_CHAR_SET_EXCEL
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
ATT_CODE_PAGE
protected static final java.lang.String ATT_CODE_PAGE
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
ATT_CODE_PAGE_EXCEL
protected static final java.lang.String ATT_CODE_PAGE_EXCEL
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
ATT_VARIANT
protected static final java.lang.String ATT_VARIANT
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
ATT_HELP_LOCALE_ID
protected static final java.lang.String ATT_HELP_LOCALE_ID
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
NODE_LOCALE
protected static final java.lang.String NODE_LOCALE
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
NODE_SUPPORTED
protected static final java.lang.String NODE_SUPPORTED
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
-
Method Detail
-
getLocaleId
public java.lang.String getLocaleId()
Description copied from interface:MessageInfo
Returns the locale ID of this localized message.- Specified by:
getLocaleId
in interfaceMessageInfo
- Returns:
- the locale ID of this localized message
-
getCountry
public java.lang.String getCountry()
Description copied from interface:MessageInfo
Returns the country of this localized message.- Specified by:
getCountry
in interfaceMessageInfo
- Returns:
- the country of this localized message.
-
getLanguage
public java.lang.String getLanguage()
Description copied from interface:MessageInfo
Returns the language of this localized message.- Specified by:
getLanguage
in interfaceMessageInfo
- Returns:
- the language of this localized message.
-
getDesc
public java.lang.String getDesc()
Description copied from interface:MessageInfo
Returns the description of this localized message.- Specified by:
getDesc
in interfaceMessageInfo
- Returns:
- the description of this localized message.
-
getDescId
public java.lang.String getDescId()
Description copied from interface:MessageInfo
Returns the description ID of this localized message.- Specified by:
getDescId
in interfaceMessageInfo
- Returns:
- the description ID of this localized message.
-
getCharSet
public java.lang.String getCharSet()
Description copied from interface:MessageInfo
Returns the character set of this localized message.- Specified by:
getCharSet
in interfaceMessageInfo
- Returns:
- the character set of this localized message.
-
getCharSetExcel
public java.lang.String getCharSetExcel()
Description copied from interface:MessageInfo
Returns the character set used in Excel of this localized message.- Specified by:
getCharSetExcel
in interfaceMessageInfo
- Returns:
- the character set used in Excel of this localized message.
-
getHelpLocaleId
public java.lang.String getHelpLocaleId(boolean isUser)
Description copied from interface:MessageInfo
Returns the help locale ID of this localized message. If missing the method returns the locale ID.- Specified by:
getHelpLocaleId
in interfaceMessageInfo
- Parameters:
isUser
- boolean specify whether the locale is for user-level help or admin-level, true if user- Returns:
- the locale ID of this localized message
- Since:
- MicroStrategy Web 9.0.0
-
getCodePage
public int getCodePage()
Description copied from interface:MessageInfo
Returns the codepage value of this localized message.- Specified by:
getCodePage
in interfaceMessageInfo
- Returns:
- the codepage value of this localized message.
- Since:
- MicroStrategy Web 7.5.0
-
getCodePageExcel
public int getCodePageExcel()
Description copied from interface:MessageInfo
Returns the codepage value used in Excel of this localized message.- Specified by:
getCodePageExcel
in interfaceMessageInfo
- Returns:
- the codepage value used in Excel of this localized message.
- Since:
- MicroStrategy Web 7.5.0
-
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
- Since:
- MicroStrategy Web 9.0.0
-
getVariant
public java.lang.String getVariant()
- Specified by:
getVariant
in interfaceMessageInfo
- Since:
- MicroStrategy Web 9.0.0
-
-