org.deegree.crs.utilities
Class MappingUtils
java.lang.Object
  
org.deegree.crs.utilities.MappingUtils
public class MappingUtils
- extends Object
 
The MappingUtils class TODO add class documentation here.
- Version:
 
  - $Revision: 31344 $, $Date: 2011-07-25 15:08:59 +0200 (Mo, 25 Jul 2011) $
 
- Author:
 
  - Rutger Bezema, last edited by: $Author: lbuesching $
 
 
| 
Method Summary | 
static boolean | 
matchEPSGString(String compare,
                               String operationName,
                               String epsgCode)
 
          Match the given code to all known epsg representations, currently:
 
 urn:x-ogc:def:${operationName}:EPSG::${epsgCode}
 urn:x-ogc:def:${operationName}:EPSG:${epsgCode}
 urn:ogc:def:${operationName}:EPSG::${epsgCode}
 urn:ogc:def:${operationName}:EPSG:${epsgCode}
 EPSG::${epsgCode}
 EPSG:${epsgCode}
 Any string containing EPSG:${epsgCode} or EPSG::${epsgCode}
  | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
MappingUtils
public MappingUtils()
matchEPSGString
public static boolean matchEPSGString(String compare,
                                      String operationName,
                                      String epsgCode)
- Match the given code to all known epsg representations, currently:
 
 - urn:x-ogc:def:${operationName}:EPSG::${epsgCode}
 
 - urn:x-ogc:def:${operationName}:EPSG:${epsgCode}
 
 - urn:ogc:def:${operationName}:EPSG::${epsgCode}
 
 - urn:ogc:def:${operationName}:EPSG:${epsgCode}
 
 - EPSG::${epsgCode}
 
 - EPSG:${epsgCode}
 
 - Any string containing EPSG:${epsgCode} or EPSG::${epsgCode}
 
 
- Parameters:
 compare - the String to compareoperationName - the name of the 'operation', normally an epsg urn is something like this:
            urn:ogc:def:${operationName}:EPSG::1234epsgCode - to check
- Returns:
 - true if the given code matches the given String.
 
 
 
                an open source project founded by lat/lon, Bonn, Germany.
                    For more information visit: http://www.deegree.org