44 lines
1.6 KiB
Java
44 lines
1.6 KiB
Java
/*
|
|
* Copyright 2008 National Library of Sweden
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
package se.kb.oai.ore;
|
|
|
|
import org.dom4j.Namespace;
|
|
|
|
/**
|
|
* Constants regarding OAI-ORE.
|
|
*
|
|
* @author Oskar Grenholm, National Library of Sweden
|
|
*/
|
|
public class OREConstants {
|
|
|
|
public static final String ATOM_NS_PREFIX = "atom";
|
|
public static final String ATOM_NS_URI = "http://www.w3.org/2005/Atom";
|
|
public static final Namespace ATOM_NS = new Namespace(ATOM_NS_PREFIX, ATOM_NS_URI);
|
|
|
|
public static final String DC_NS_PREFIX = "dc";
|
|
public static final String DC_NS_URI = "http://purl.org/dc/";
|
|
public static final Namespace DC_NS = new Namespace(DC_NS_PREFIX, DC_NS_URI);
|
|
|
|
public static final String DCTERMS_NS_PREFIX = "dcterms";
|
|
public static final String DCTERMS_NS_URI = "http://purl.org/dc/terms/";
|
|
public static final Namespace DCTERMS_NS = new Namespace(DCTERMS_NS_PREFIX, DCTERMS_NS_URI);
|
|
|
|
public static final String RDF_NS_PREFIX = "rdf";
|
|
public static final String RDF_NS_URI = "http://www.w3.org/1999/02/22-rdf-syntax-ns#";
|
|
public static final Namespace RDF_NS = new Namespace(RDF_NS_PREFIX, RDF_NS_URI);
|
|
}
|