Esri Geoportal Server
1.2.9

com.esri.gpt.framework.context
Class UrnMap

java.lang.Object
  extended by com.esri.gpt.framework.context.UrnMap

public class UrnMap
extends Object

Maps names to different URN's for different domains.


Field Summary
protected static Logger LG
          logger
static String URN_ESRI_GPT
           
 
Constructor Summary
protected UrnMap()
          Creates instance
 
Method Summary
protected  Map<String,String> getDefaultMap()
          Gets default URN map.
static UrnMap getInstance()
          Gets instance.
 String getUrn(String domain, String name)
          Gets URN for the domain.
protected  Map<String,Map<String,String>> getUrnDomainMap()
          Gets URN domain map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

URN_ESRI_GPT

public static final String URN_ESRI_GPT
See Also:
Constant Field Values

LG

protected static final Logger LG
logger

Constructor Detail

UrnMap

protected UrnMap()
Creates instance

Method Detail

getInstance

public static UrnMap getInstance()
Gets instance.

Returns:
instance

getUrn

public String getUrn(String domain,
                     String name)
Gets URN for the domain.

Parameters:
domain - domain
name - URN name
Returns:
URN for the name within domain or empty string if no URN found

getUrnDomainMap

protected Map<String,Map<String,String>> getUrnDomainMap()
Gets URN domain map.

Returns:
URN domain map

getDefaultMap

protected Map<String,String> getDefaultMap()
Gets default URN map.

Returns:
default URN map

Esri Geoportal Server
1.2.9

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.