com.moximedia.aims
Class AimsXmlFramework

java.lang.Object
  extended bycom.moximedia.aims.AimsXmlFramework

public class AimsXmlFramework
extends java.lang.Object

Author:
Doug Cates - www.moximedia.com

Constructor Summary
AimsXmlFramework()
           
 
Method Summary
static boolean applyXmlLayers(java.lang.String _urlString, AimsMap _map, AimsWebSiteConfig siteConfig)
          Sets the layer settings from a URL containing XML layer information.
static boolean applyXmlPrint(java.lang.String urlString, AimsWebSiteConfig siteConfig)
          Sets the print templates from a URL containing XML template information.
static boolean applyXmlSecurity(java.lang.String xml, AimsWebSiteConfig siteConfig)
           
static boolean applyXmlSiteConfig(java.lang.String urlString, AimsWebSiteConfig siteConfig)
          Sets the map folders object from a URL containing XML folders information.
static boolean applyXmlThemes(java.lang.String urlString, AimsWebSiteConfig siteConfig)
          Sets the map themes from a URL containing XML theme information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AimsXmlFramework

public AimsXmlFramework()
Method Detail

applyXmlSiteConfig

public static boolean applyXmlSiteConfig(java.lang.String urlString,
                                         AimsWebSiteConfig siteConfig)
Sets the map folders object from a URL containing XML folders information. The folders object is used to organize the map layers into folders when displayed to the user. Note that this command clears the existing folders.

Returns:
True if successful, otherwize false.

applyXmlSecurity

public static boolean applyXmlSecurity(java.lang.String xml,
                                       AimsWebSiteConfig siteConfig)

applyXmlLayers

public static boolean applyXmlLayers(java.lang.String _urlString,
                                     AimsMap _map,
                                     AimsWebSiteConfig siteConfig)
Sets the layer settings from a URL containing XML layer information.

Parameters:
_urlString - The complete URL path (eg. http://somehost/file.xml)
_map - The map to apply the layer settings to.
Returns:
True if successful, otherwize false.

applyXmlThemes

public static boolean applyXmlThemes(java.lang.String urlString,
                                     AimsWebSiteConfig siteConfig)
Sets the map themes from a URL containing XML theme information.

Parameters:
urlString - The complete URL path (eg. http://somehost/file.xml)
siteConfig - The site configuration object to store the themes.
Returns:
True if successful, otherwize false.

applyXmlPrint

public static boolean applyXmlPrint(java.lang.String urlString,
                                    AimsWebSiteConfig siteConfig)
Sets the print templates from a URL containing XML template information.

Parameters:
urlString - The complete URL path (eg. http://somehost/file.xml)
siteConfig - The site configuration object.
Returns:
True if successful, otherwize false.


Internet Mapping Framework for ArcIMS Java Object Model API (v5.0.004)
Copyright © 2005 Moxi Media Inc. and Province of British Columbia. All Rights Reserved.