protected CmsADEConfigDataInternal getSiteConfigData(String path) {

        if (path == null) {
            return null;
        }
        List<String> prefixes = getSiteConfigPaths(path);
        if (prefixes.size() == 0) {
            return null;
        }
        // for any two prefixes of a string, one is a prefix of the other. so the alphabetically last
        // prefix is the longest prefix of all.
        return m_siteConfigurationsByPath.get(prefixes.get(prefixes.size() - 1));
    }
protected CmsADEConfigDataInternal getSiteConfigData ( String path ) { if ( path == null ) { return null ; } List < String > prefixes = getSiteConfigPaths ( path ) ; if ( prefixes . size ( ) == 0 ) { return null ; } return m_siteConfigurationsByPath . get ( prefixes . get ( prefixes . size ( ) - 1 ) ) ; }
Helper method for getting the best matching sitemap configuration object for a given root path, ignoring the module
configuration.<p>

For example, if there are configurations available for the paths /a, /a/b/c, /a/b/x and /a/b/c/d/e, then
the method will return the configuration object for /a/b/c when passed the path /a/b/c/d.

If no configuration data is found for the path, null will be returned.<p>

@param path a root path
@return the configuration data for the given path, or null if none was found