Class RegionalOptionsHelper


  • public class RegionalOptionsHelper
    extends java.lang.Object
    Provides various utility functions to support WebLocalizationManager.
    Since:
    MicroStrategy Web 9.0.0
    • Constructor Detail

      • RegionalOptionsHelper

        public RegionalOptionsHelper()
    • Method Detail

      • getXML

        public static java.lang.String getXML​(RegionalOptions regionalOptions)
        Returns an XML representation a RegionalOptions instance.
        Parameters:
        regionalOptions - the instance
        Returns:
        the XML
      • getMDXML

        public static java.lang.String getMDXML​(RegionalOptions regionalOptions)
      • getXMLStringWrapper

        public static StringWrapper getXMLStringWrapper​(RegionalOptions regionalOptions)
        Returns a special StringWrapper that will automatically update the associated RegionalOptions parameter.
        Parameters:
        regionalOptions - the object that will be automatically updated upon a StringWrapper.setString(String).
        Returns:
        the wrapper.
      • supportsV9Internationalization

        public static boolean supportsV9Internationalization​(java.lang.String serverName,
                                                             int port)
        Checks whether MicroStrategy 9.0 internationalization features are supported on the given Intelligence Server.
        Parameters:
        serverName - server to test
        port - port of server
        Returns:
        whether MicroStrategy 9.0 internationalization features are supported