001/** 002 * Copyright 2015 DuraSpace, Inc. 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016package org.fcrepo.camel; 017 018import com.google.common.collect.ImmutableMap; 019 020import java.util.Map; 021 022/** 023 * @author acoburn 024 */ 025public final class RdfNamespaces { 026 027 public static final String REPOSITORY = "http://fedora.info/definitions/v4/repository#"; 028 029 public static final String INDEXING = "http://fedora.info/definitions/v4/indexing#"; 030 031 public static final String RDF = "http://www.w3.org/1999/02/22-rdf-syntax-ns#"; 032 033 public static final String LDP = "http://www.w3.org/ns/ldp#"; 034 035 public static final String PREMIS = "http://www.loc.gov/premis/rdf/v1#"; 036 037 public static final Map<String, String> PREFER_PROPERTIES = ImmutableMap.<String, String>builder() 038 .put("PreferContainment", LDP + "PreferContainment") 039 .put("PreferMembership", LDP + "PreferMembership") 040 .put("PreferMinimalContainer", LDP + "PreferMinimalContainer") 041 .put("ServerManaged", REPOSITORY + "ServerManaged") 042 .put("EmbedResources", REPOSITORY + "EmbedResources") 043 .put("InboundReferences", REPOSITORY + "InboundReferences").build(); 044 045 private RdfNamespaces() { 046 // Prevent instantiation 047 } 048 049}