public static boolean isDeprecated ( String uri ) { Datatype datatype = datatypesHash . get ( uri ) ; String urn = getOfficialDataTypeURI ( datatype ) ; return ! uri . equalsIgnoreCase ( urn ) ; }
To know if a URI of a data type is deprecated .