
com.globalmentor.metadata.DCMI Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of globalmentor-metadata Show documentation
Show all versions of globalmentor-metadata Show documentation
GlobalMentor Java metadata vocabularies library.
The newest version!
/*
* Copyright © 2007-2012 GlobalMentor, Inc.
*
* 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 com.globalmentor.metadata;
import java.net.URI;
/**
* Constants and methods used for Dublin Core.
* @author Garret Wilson
* @see DCMI Namespace Policy
* @see Dublin Core Metadata Element Set, Version 1.1
*/
public class DCMI {
/** The recommended prefix of the Dublin Core Metadata Initiative elements namespace. */
public static final String DCMI_ELEMENTS_NAMESPACE_PREFIX = "dc";
/** The URI to the Dublin Core Metadata Initiative element set 1.0 namespace. */
public static final URI DCMI10_ELEMENTS_NAMESPACE_URI = URI.create("http://purl.org/dc/elements/1.0/");
/** The URI to the Dublin Core Metadata Initiative element set 1.1 namespace. */
public static final URI DCMI11_ELEMENTS_NAMESPACE_URI = URI.create("http://purl.org/dc/elements/1.1/");
//Dublin Core property names
/** The title of a resource. */
public static final String TITLE_PROPERTY_NAME = "title";
/** The creator of a resource. */
public static final String CREATOR_PROPERTY_NAME = "creator";
/** The subject of a resource. */
public static final String SUBJECT_PROPERTY_NAME = "subject";
/** The description of a resource. */
public static final String DESCRIPTION_PROPERTY_NAME = "description";
/** The publisher of a resource. */
public static final String PUBLISHER_PROPERTY_NAME = "publisher";
/** The contributor of a resource. */
public static final String CONTRIBUTOR_PROPERTY_NAME = "contributor";
/** The date of a resource. */
public static final String DATE_PROPERTY_NAME = "date";
/** The Dublin Core type of a resource. */
public static final String TYPE_PROPERTY_NAME = "type";
/** The format of a resource. */
public static final String FORMAT_PROPERTY_NAME = "format";
/** The Dublin Core identifier of a resource. */
public static final String IDENTIFIER_PROPERTY_NAME = "identifier";
/** The source of a resource. */
public static final String SOURCE_PROPERTY_NAME = "source";
/** The language of a resource. */
public static final String LANGUAGE_PROPERTY_NAME = "language";
/** The relation of a resource. */
public static final String RELATION_PROPERTY_NAME = "relation";
/** The coverage of a resource. */
public static final String COVERAGE_PROPERTY_NAME = "coverage";
/** The rights of a resource. */
public static final String RIGHTS_PROPERTY_NAME = "rights";
//Dublin Core property URIs
/** The title of a resource. */
public static final URI TITLE_PROPERTY_URI = DCMI11_ELEMENTS_NAMESPACE_URI.resolve(TITLE_PROPERTY_NAME);
/** The creator of a resource. */
public static final URI CREATOR_PROPERTY_URI = DCMI11_ELEMENTS_NAMESPACE_URI.resolve(CREATOR_PROPERTY_NAME);
/** The subject of a resource. */
public static final URI SUBJECT_PROPERTY_URI = DCMI11_ELEMENTS_NAMESPACE_URI.resolve(SUBJECT_PROPERTY_NAME);
/** The description of a resource. */
public static final URI DESCRIPTION_PROPERTY_URI = DCMI11_ELEMENTS_NAMESPACE_URI.resolve(DESCRIPTION_PROPERTY_NAME);
/** The publisher of a resource. */
public static final URI PUBLISHER_PROPERTY_URI = DCMI11_ELEMENTS_NAMESPACE_URI.resolve(PUBLISHER_PROPERTY_NAME);
/** The contributor of a resource. */
public static final URI CONTRIBUTOR_PROPERTY_URI = DCMI11_ELEMENTS_NAMESPACE_URI.resolve(CONTRIBUTOR_PROPERTY_NAME);
/** The date of a resource. */
public static final URI DATE_PROPERTY_URI = DCMI11_ELEMENTS_NAMESPACE_URI.resolve(DATE_PROPERTY_NAME);
/** The Dublin Core type of a resource. */
public static final URI TYPE_PROPERTY_URI = DCMI11_ELEMENTS_NAMESPACE_URI.resolve(TYPE_PROPERTY_NAME);
/** The format of a resource. */
public static final URI FORMAT_PROPERTY_URI = DCMI11_ELEMENTS_NAMESPACE_URI.resolve(FORMAT_PROPERTY_NAME);
/** The Dublin Core identifier of a resource. */
public static final URI IDENTIFIER_PROPERTY_URI = DCMI11_ELEMENTS_NAMESPACE_URI.resolve(IDENTIFIER_PROPERTY_NAME);
/** The source of a resource. */
public static final URI SOURCE_PROPERTY_URI = DCMI11_ELEMENTS_NAMESPACE_URI.resolve(SOURCE_PROPERTY_NAME);
/** The language of a resource. */
public static final URI LANGUAGE_PROPERTY_URI = DCMI11_ELEMENTS_NAMESPACE_URI.resolve(LANGUAGE_PROPERTY_NAME);
/** The relation of a resource. */
public static final URI RELATION_PROPERTY_URI = DCMI11_ELEMENTS_NAMESPACE_URI.resolve(RELATION_PROPERTY_NAME);
/** The coverage of a resource. */
public static final URI COVERAGE_PROPERTY_URI = DCMI11_ELEMENTS_NAMESPACE_URI.resolve(COVERAGE_PROPERTY_NAME);
/** The rights of a resource. */
public static final URI RIGHTS_PROPERTY_URI = DCMI11_ELEMENTS_NAMESPACE_URI.resolve(RIGHTS_PROPERTY_NAME);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy