com.mkdoc.schema
Class DublinCoreTerms

java.lang.Object
  |
  +--com.mkdoc.schema.AbstractSchema
        |
        +--com.mkdoc.schema.DublinCoreTerms
All Implemented Interfaces:
Resolver, Schema

public class DublinCoreTerms
extends AbstractSchema
implements Schema

The Dublin Core qualified terms schema.

Version:
1.3. 2005-09-15
Author:
Philip Shaw
See Also:

Field Summary
static java.lang.String BASE
          The base URI for the Dublin Core qualifiers.
static java.lang.String LABL_ABSRCT
          The Abstract term label.
static java.lang.String LABL_ACCMTH
          The Accrual Policy term label.
static java.lang.String LABL_ACCPER
          The Accrual Periodicity term label.
static java.lang.String LABL_ACCPOL
          The Accrual Periodicity term label.
static java.lang.String LABL_ACCPTD
          The Date Accepted term label.
static java.lang.String LABL_ACCRGT
          The Access Rights term label.
static java.lang.String LABL_ALTIVE
          The Alternative term label.
static java.lang.String LABL_AUDNCE
          The Audience term label.
static java.lang.String LABL_AVAIBL
          The Available term label.
static java.lang.String LABL_BIBCIT
          The Bibliographic Citation term label.
static java.lang.String LABL_BOX
          The DCMI Box term label.
static java.lang.String LABL_CONFTO
          The Conforms To term label.
static java.lang.String LABL_CPYRGT
          The Date Copyrighted label.
static java.lang.String LABL_CREATD
          The Created term label.
static java.lang.String LABL_DCTYPE
          The DCMI Type term label.
static java.lang.String LABL_DDC
          The DDC term label.
static java.lang.String LABL_EDULVL
          The Education Level term label.
static java.lang.String LABL_EXTENT
          The Extent term label.
static java.lang.String LABL_FMATOF
          The Is Format Of term label.
static java.lang.String LABL_HASFMT
          The Has Format term label.
static java.lang.String LABL_HASPRT
          The Has Part term label.
static java.lang.String LABL_HASVER
          The Has Version label.
static java.lang.String LABL_IMT
          The IMT term label.
static java.lang.String LABL_INSMTH
          The Instructional Method term label.
static java.lang.String LABL_IS3166
          The ISO3166 term label.
static java.lang.String LABL_IS3692
          The ISO639-2 term URI suffix.
static java.lang.String LABL_ISSUED
          The Issued term label.
static java.lang.String LABL_LCC
          The LCC term label.
static java.lang.String LABL_LCSH
          The LCSH term label.
static java.lang.String LABL_LICNSE
          The License term label.
static java.lang.String LABL_MEDITR
          The Mediator term label.
static java.lang.String LABL_MEDIUM
          The Medium term label.
static java.lang.String LABL_MESH
          The MeSH term label.
static java.lang.String LABL_MODFID
          The Modified term label.
static java.lang.String LABL_NLM
          The NLMterm label.
static java.lang.String LABL_PARTOF
          The Is Part Of term label.
static java.lang.String LABL_PERIOD
          The DCMI Period term label.
static java.lang.String LABL_POINT
          The DCMI Point term label.
static java.lang.String LABL_PRVNCE
          The Provenance term label.
static java.lang.String LABL_RC1766
          The RFC 1766 term label.
static java.lang.String LABL_RC3066
          The RFC 3066 term label.
static java.lang.String LABL_REFDBY
          The Is Referenced By term label.
static java.lang.String LABL_REFRCS
          The References term label.
static java.lang.String LABL_REPLBY
          The Is Replaced By term label.
static java.lang.String LABL_REPLCS
          The Replaces term label.
static java.lang.String LABL_REQDBY
          The Is Required By term label.
static java.lang.String LABL_REQRES
          The Requires term label.
static java.lang.String LABL_RGTHLD
          The Rights Holder term label.
static java.lang.String LABL_SPTIAL
          The Spatial term label.
static java.lang.String LABL_SUBMTD
          The Date Submitted label.
static java.lang.String LABL_TABCNT
          The Table Of Contents term label.
static java.lang.String LABL_TEMPRL
          The Temporal term label.
static java.lang.String LABL_TGN
          The NAME_TGN term label.
static java.lang.String LABL_UDC
          The UDC term label.
static java.lang.String LABL_URI
          The URI term label.
static java.lang.String LABL_VALID
          The Valid term label.
static java.lang.String LABL_VERNOF
          The Is Version Of term label.
static java.lang.String LABL_W3CDTF
          The W3C-DTF term label.
static java.lang.String NAME
          The common name of the schema.
static java.lang.String NAME_ABSRCT
          The Abstract term URI suffix.
static java.lang.String NAME_ACCMTH
          The Accural Policy term URI suffix.
static java.lang.String NAME_ACCPER
          The Accural Periodicity term URI suffix.
static java.lang.String NAME_ACCPOL
          The Accural Periodicity term URI suffix.
static java.lang.String NAME_ACCPTD
          The Date Accepted term URI suffix.
static java.lang.String NAME_ACCRGT
          The Access Rights term URI suffix.
static java.lang.String NAME_ALTIVE
          The Alternative term URI suffix.
static java.lang.String NAME_AUDNCE
          The Audience term URI suffix.
static java.lang.String NAME_AVAIBL
          The Available term URI suffix.
static java.lang.String NAME_BIBCIT
          The Bibliographic Citation term URI suffix.
static java.lang.String NAME_BOX
          The DCMI Box term URI suffix.
static java.lang.String NAME_CONFTO
          The Conforms To term URI suffix.
static java.lang.String NAME_CPYRGT
          The Date Copyrighted URI suffix.
static java.lang.String NAME_CREATD
          The Created term URI suffix.
static java.lang.String NAME_DCTYPE
          The DCMI Type term URI suffix.
static java.lang.String NAME_DDC
          The DDC term URI suffix.
static java.lang.String NAME_EDULVL
          The Education Level term URI suffix.
static java.lang.String NAME_EXTENT
          The Extent term URI suffix.
static java.lang.String NAME_FMATOF
          The Is Format Of term URI suffix.
static java.lang.String NAME_HASFMT
          The Has Format term URI suffix.
static java.lang.String NAME_HASPRT
          The Has Part term URI suffix.
static java.lang.String NAME_HASVER
          The Has Version URI suffix.
static java.lang.String NAME_IMT
          The IMT term URI suffix.
static java.lang.String NAME_INSMTH
          The Instructional Method term URI suffix.
static java.lang.String NAME_IS3166
          The ISO3166 term URI suffix.
static java.lang.String NAME_IS3692
          The ISO639-2 term URI suffix.
static java.lang.String NAME_ISSUED
          The Issued term URI suffix.
static java.lang.String NAME_LCC
          The LCC term URI suffix.
static java.lang.String NAME_LCSH
          The LCSH term URI suffix.
static java.lang.String NAME_LICNSE
          The License term URI suffix.
static java.lang.String NAME_MEDITR
          The Mediator term URI suffix.
static java.lang.String NAME_MEDIUM
          The Medium term URI suffix.
static java.lang.String NAME_MESH
          The MeSH term URI suffix.
static java.lang.String NAME_MODFID
          The Modified term URI suffix.
static java.lang.String NAME_NLM
          The NLM term URI suffix.
static java.lang.String NAME_PARTOF
          The Is Part Of term URI suffix.
static java.lang.String NAME_PERIOD
          The DCMI Period term URI suffix.
static java.lang.String NAME_POINT
          The DCMI Point term URI suffix.
static java.lang.String NAME_PRVNCE
          The Provenance term URI suffix.
static java.lang.String NAME_RC1766
          The RFC 1766 term URI suffix.
static java.lang.String NAME_RC3066
          The RFC 3066 term URI suffix.
static java.lang.String NAME_REFDBY
          The Is Referenced By term URI suffix.
static java.lang.String NAME_REFRCS
          The References term URI suffix.
static java.lang.String NAME_REPLBY
          The Is Replaced By term URI suffix.
static java.lang.String NAME_REPLCS
          The Replaces term URI suffix.
static java.lang.String NAME_REQDBY
          The Is Required By term URI suffix.
static java.lang.String NAME_REQRES
          The Requires term URI suffix.
static java.lang.String NAME_RGTHLD
          The Rights Holder term URI suffix.
static java.lang.String NAME_SPTIAL
          The Spatial term URI suffix.
static java.lang.String NAME_SUBMTD
          The Date Submitted URI suffix.
static java.lang.String NAME_TABCNT
          The Table Of Contents term URI suffix.
static java.lang.String NAME_TEMPRL
          The Temporal term URI suffix.
static java.lang.String NAME_TGN
          The NAME_TGN term URI suffix.
static java.lang.String NAME_UDC
          The UDC term URI suffix.
static java.lang.String NAME_URI
          The URI term URI suffix.
static java.lang.String NAME_VALID
          The Valid term URI suffix.
static java.lang.String NAME_VERNOF
          The Is Version Of term URI suffix.
static java.lang.String NAME_W3CDTF
          The W3C-DTF term URI suffix.
static java.lang.String[] PREFIXES
          The default namespace prefix for the Dublin Core terms schema.
 
Constructor Summary
DublinCoreTerms()
           
 
Method Summary
protected static void addPredicate(SchemaProperty predicate)
          Add a predicate to the schema mapping.
protected static void addScheme(SchemaProperty scheme)
          Add an encoding scheme to the schema mapping.
 java.lang.String expandPredicate(java.lang.String name, java.lang.String predicate)
          Expand an encoded predicate name to a URI.
protected  java.lang.String expandScheme(java.lang.String name, java.lang.String scheme)
          Expand an encoded scheme value to a URI.
 java.lang.String[] getAllPrefixes()
          Get the HTML metadata prefixes recognised by this schema.
 java.lang.String getDefaultPrefix()
          Get the default namespace prefix for the schema.
 java.lang.String getName()
          Get the common name for the schema.
 SchemaProperty getNamedPredicateProperty(java.lang.String name)
          Get the schema property for a given predicate.
 java.util.Collection getPredicates()
          Get a collection of schema property predicates for this schema.
protected  java.lang.String getPredicateUri(java.lang.String predicate)
          Get the URI mapped to the predicate.
protected  java.lang.String getSchemeUri(java.lang.String scheme)
          Get the URI mapped to the scheme.
 java.lang.String getUri()
          Get the base URI for the metadata schema.
protected static SchemaProperty newSchemaProperty(java.lang.String uri, java.lang.String label, java.lang.String name)
          Get a new schema property.
protected static SchemaProperty newSchemaProperty(java.lang.String uri, java.lang.String label, java.lang.String name, boolean encoding)
          Get a new schema property with optional encoding schemes.
protected static SchemaProperty newSchemaProperty(java.lang.String uri, java.lang.String label, java.lang.String name, boolean encoding, boolean uriEncoding)
          Get a new schema property.
 boolean providesQualifiers()
          Signal whether the schema provides element qualifiers.
 boolean providesQualifiersFor(java.lang.String uri)
          Check whether the schema provides qualifiers for a specific schema.
 
Methods inherited from class com.mkdoc.schema.AbstractSchema
copyPrefixes, expandPredicate, expandScheme
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.mkdoc.schema.Resolver
expandPredicate, expandScheme
 

Field Detail

NAME

public static final java.lang.String NAME
The common name of the schema.

Since:
Version 1.3 2005-06-17
See Also:
Constant Field Values

BASE

public static final java.lang.String BASE
The base URI for the Dublin Core qualifiers.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

PREFIXES

public static final java.lang.String[] PREFIXES
The default namespace prefix for the Dublin Core terms schema.

Since:
Version 0.3 2005-03-01

NAME_AUDNCE

public static final java.lang.String NAME_AUDNCE
The Audience term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_AUDNCE

public static final java.lang.String LABL_AUDNCE
The Audience term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_ALTIVE

public static final java.lang.String NAME_ALTIVE
The Alternative term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_ALTIVE

public static final java.lang.String LABL_ALTIVE
The Alternative term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_TABCNT

public static final java.lang.String NAME_TABCNT
The Table Of Contents term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_TABCNT

public static final java.lang.String LABL_TABCNT
The Table Of Contents term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_ABSRCT

public static final java.lang.String NAME_ABSRCT
The Abstract term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_ABSRCT

public static final java.lang.String LABL_ABSRCT
The Abstract term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_CREATD

public static final java.lang.String NAME_CREATD
The Created term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_CREATD

public static final java.lang.String LABL_CREATD
The Created term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_VALID

public static final java.lang.String NAME_VALID
The Valid term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_VALID

public static final java.lang.String LABL_VALID
The Valid term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_AVAIBL

public static final java.lang.String NAME_AVAIBL
The Available term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_AVAIBL

public static final java.lang.String LABL_AVAIBL
The Available term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_ISSUED

public static final java.lang.String NAME_ISSUED
The Issued term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_ISSUED

public static final java.lang.String LABL_ISSUED
The Issued term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_MODFID

public static final java.lang.String NAME_MODFID
The Modified term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_MODFID

public static final java.lang.String LABL_MODFID
The Modified term label.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

NAME_EXTENT

public static final java.lang.String NAME_EXTENT
The Extent term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_EXTENT

public static final java.lang.String LABL_EXTENT
The Extent term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_MEDIUM

public static final java.lang.String NAME_MEDIUM
The Medium term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_MEDIUM

public static final java.lang.String LABL_MEDIUM
The Medium term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_VERNOF

public static final java.lang.String NAME_VERNOF
The Is Version Of term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_VERNOF

public static final java.lang.String LABL_VERNOF
The Is Version Of term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_HASVER

public static final java.lang.String NAME_HASVER
The Has Version URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_HASVER

public static final java.lang.String LABL_HASVER
The Has Version label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_REPLBY

public static final java.lang.String NAME_REPLBY
The Is Replaced By term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_REPLBY

public static final java.lang.String LABL_REPLBY
The Is Replaced By term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_REPLCS

public static final java.lang.String NAME_REPLCS
The Replaces term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_REPLCS

public static final java.lang.String LABL_REPLCS
The Replaces term label.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

NAME_REQDBY

public static final java.lang.String NAME_REQDBY
The Is Required By term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_REQDBY

public static final java.lang.String LABL_REQDBY
The Is Required By term label.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

NAME_REQRES

public static final java.lang.String NAME_REQRES
The Requires term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_REQRES

public static final java.lang.String LABL_REQRES
The Requires term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_PARTOF

public static final java.lang.String NAME_PARTOF
The Is Part Of term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_PARTOF

public static final java.lang.String LABL_PARTOF
The Is Part Of term label.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

NAME_HASPRT

public static final java.lang.String NAME_HASPRT
The Has Part term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_HASPRT

public static final java.lang.String LABL_HASPRT
The Has Part term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_REFDBY

public static final java.lang.String NAME_REFDBY
The Is Referenced By term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_REFDBY

public static final java.lang.String LABL_REFDBY
The Is Referenced By term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_REFRCS

public static final java.lang.String NAME_REFRCS
The References term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_REFRCS

public static final java.lang.String LABL_REFRCS
The References term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_FMATOF

public static final java.lang.String NAME_FMATOF
The Is Format Of term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_FMATOF

public static final java.lang.String LABL_FMATOF
The Is Format Of term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_HASFMT

public static final java.lang.String NAME_HASFMT
The Has Format term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_HASFMT

public static final java.lang.String LABL_HASFMT
The Has Format term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_CONFTO

public static final java.lang.String NAME_CONFTO
The Conforms To term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_CONFTO

public static final java.lang.String LABL_CONFTO
The Conforms To term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_SPTIAL

public static final java.lang.String NAME_SPTIAL
The Spatial term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_SPTIAL

public static final java.lang.String LABL_SPTIAL
The Spatial term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_TEMPRL

public static final java.lang.String NAME_TEMPRL
The Temporal term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_TEMPRL

public static final java.lang.String LABL_TEMPRL
The Temporal term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_MEDITR

public static final java.lang.String NAME_MEDITR
The Mediator term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_MEDITR

public static final java.lang.String LABL_MEDITR
The Mediator term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_ACCPTD

public static final java.lang.String NAME_ACCPTD
The Date Accepted term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_ACCPTD

public static final java.lang.String LABL_ACCPTD
The Date Accepted term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_CPYRGT

public static final java.lang.String NAME_CPYRGT
The Date Copyrighted URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_CPYRGT

public static final java.lang.String LABL_CPYRGT
The Date Copyrighted label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_SUBMTD

public static final java.lang.String NAME_SUBMTD
The Date Submitted URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_SUBMTD

public static final java.lang.String LABL_SUBMTD
The Date Submitted label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_EDULVL

public static final java.lang.String NAME_EDULVL
The Education Level term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_EDULVL

public static final java.lang.String LABL_EDULVL
The Education Level term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_ACCRGT

public static final java.lang.String NAME_ACCRGT
The Access Rights term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_ACCRGT

public static final java.lang.String LABL_ACCRGT
The Access Rights term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_BIBCIT

public static final java.lang.String NAME_BIBCIT
The Bibliographic Citation term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_BIBCIT

public static final java.lang.String LABL_BIBCIT
The Bibliographic Citation term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_LICNSE

public static final java.lang.String NAME_LICNSE
The License term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_LICNSE

public static final java.lang.String LABL_LICNSE
The License term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_RGTHLD

public static final java.lang.String NAME_RGTHLD
The Rights Holder term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_RGTHLD

public static final java.lang.String LABL_RGTHLD
The Rights Holder term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_PRVNCE

public static final java.lang.String NAME_PRVNCE
The Provenance term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_PRVNCE

public static final java.lang.String LABL_PRVNCE
The Provenance term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_INSMTH

public static final java.lang.String NAME_INSMTH
The Instructional Method term URI suffix.

Since:
Version 1.1 2005-07-04
See Also:
Constant Field Values

LABL_INSMTH

public static final java.lang.String LABL_INSMTH
The Instructional Method term label.

Since:
Version 1.1 2005-07-04
See Also:
Constant Field Values

NAME_ACCMTH

public static final java.lang.String NAME_ACCMTH
The Accural Policy term URI suffix.

Since:
Version 1.1 2005-07-04
See Also:
Constant Field Values

LABL_ACCMTH

public static final java.lang.String LABL_ACCMTH
The Accrual Policy term label.

Since:
Version 1.1 2005-07-04
See Also:
Constant Field Values

NAME_ACCPER

public static final java.lang.String NAME_ACCPER
The Accural Periodicity term URI suffix.

Since:
Version 1.1 2005-07-04
See Also:
Constant Field Values

LABL_ACCPER

public static final java.lang.String LABL_ACCPER
The Accrual Periodicity term label.

Since:
Version 1.1 2005-07-04
See Also:
Constant Field Values

NAME_ACCPOL

public static final java.lang.String NAME_ACCPOL
The Accural Periodicity term URI suffix.

Since:
Version 1.1 2005-07-04
See Also:
Constant Field Values

LABL_ACCPOL

public static final java.lang.String LABL_ACCPOL
The Accrual Periodicity term label.

Since:
Version 1.1 2005-07-04
See Also:
Constant Field Values

NAME_LCSH

public static final java.lang.String NAME_LCSH
The LCSH term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_LCSH

public static final java.lang.String LABL_LCSH
The LCSH term label.

Since:
Version 0.8 2005-06-16
See Also:
Constant Field Values

NAME_MESH

public static final java.lang.String NAME_MESH
The MeSH term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_MESH

public static final java.lang.String LABL_MESH
The MeSH term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_DDC

public static final java.lang.String NAME_DDC
The DDC term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_DDC

public static final java.lang.String LABL_DDC
The DDC term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_LCC

public static final java.lang.String NAME_LCC
The LCC term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_LCC

public static final java.lang.String LABL_LCC
The LCC term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_UDC

public static final java.lang.String NAME_UDC
The UDC term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_UDC

public static final java.lang.String LABL_UDC
The UDC term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_DCTYPE

public static final java.lang.String NAME_DCTYPE
The DCMI Type term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_DCTYPE

public static final java.lang.String LABL_DCTYPE
The DCMI Type term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_IMT

public static final java.lang.String NAME_IMT
The IMT term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_IMT

public static final java.lang.String LABL_IMT
The IMT term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_IS3692

public static final java.lang.String NAME_IS3692
The ISO639-2 term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_IS3692

public static final java.lang.String LABL_IS3692
The ISO639-2 term URI suffix.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_RC1766

public static final java.lang.String NAME_RC1766
The RFC 1766 term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_RC1766

public static final java.lang.String LABL_RC1766
The RFC 1766 term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_URI

public static final java.lang.String NAME_URI
The URI term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_URI

public static final java.lang.String LABL_URI
The URI term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_POINT

public static final java.lang.String NAME_POINT
The DCMI Point term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_POINT

public static final java.lang.String LABL_POINT
The DCMI Point term label.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

NAME_IS3166

public static final java.lang.String NAME_IS3166
The ISO3166 term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_IS3166

public static final java.lang.String LABL_IS3166
The ISO3166 term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_BOX

public static final java.lang.String NAME_BOX
The DCMI Box term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_BOX

public static final java.lang.String LABL_BOX
The DCMI Box term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_TGN

public static final java.lang.String NAME_TGN
The NAME_TGN term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_TGN

public static final java.lang.String LABL_TGN
The NAME_TGN term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_PERIOD

public static final java.lang.String NAME_PERIOD
The DCMI Period term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_PERIOD

public static final java.lang.String LABL_PERIOD
The DCMI Period term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_W3CDTF

public static final java.lang.String NAME_W3CDTF
The W3C-DTF term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_W3CDTF

public static final java.lang.String LABL_W3CDTF
The W3C-DTF term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_RC3066

public static final java.lang.String NAME_RC3066
The RFC 3066 term URI suffix.

Since:
Version 0.1 2004-12-23
See Also:
Constant Field Values

LABL_RC3066

public static final java.lang.String LABL_RC3066
The RFC 3066 term label.

Since:
Version 0.8 2005-06-15
See Also:
Constant Field Values

NAME_NLM

public static final java.lang.String NAME_NLM
The NLM term URI suffix.

Since:
Version 1.1 2005-07-04
See Also:
Constant Field Values

LABL_NLM

public static final java.lang.String LABL_NLM
The NLMterm label.

Since:
Version 1.1 2005-07-04
See Also:
Constant Field Values
Constructor Detail

DublinCoreTerms

public DublinCoreTerms()
Method Detail

newSchemaProperty

protected static final SchemaProperty newSchemaProperty(java.lang.String uri,
                                                        java.lang.String label,
                                                        java.lang.String name)
Get a new schema property.

Parameters:
uri - The resource URI.
label - The resource label.
name - The unique resource name.
Returns:
A new schema property constructed from the arguments.
Since:
Version 0.7 2005-06-15

newSchemaProperty

protected static final SchemaProperty newSchemaProperty(java.lang.String uri,
                                                        java.lang.String label,
                                                        java.lang.String name,
                                                        boolean encoding)
Get a new schema property with optional encoding schemes.

Parameters:
uri - The resource URI.
label - The resource label.
name - The unique resource name.
encoding - Whether the property has scheme encodings that may be applied.
Returns:
A new schema property constructed from the arguments.
Since:
Version 1.2 2005-09-14

newSchemaProperty

protected static final SchemaProperty newSchemaProperty(java.lang.String uri,
                                                        java.lang.String label,
                                                        java.lang.String name,
                                                        boolean encoding,
                                                        boolean uriEncoding)
Get a new schema property.

Parameters:
uri - The resource URI.
label - The resource label.
name - The unique resource name.
encoding - Whether the property has scheme encodings that may be applied.
uriEncoding - Whether the instance may have a URI encoding scheme.
Returns:
A new schema property constructed from the arguments.
Since:
Version 1.3 2005-09-15

addPredicate

protected static final void addPredicate(SchemaProperty predicate)
Add a predicate to the schema mapping.

Parameters:
predicate - The schema property to add to the mapping.
Since:
Version 0.8 2005-06-15

addScheme

protected static final void addScheme(SchemaProperty scheme)
Add an encoding scheme to the schema mapping.

Parameters:
scheme - The schema property to add to the mapping.
Since:
Version 0.8 2005-06-15

expandPredicate

public final java.lang.String expandPredicate(java.lang.String name,
                                              java.lang.String predicate)
Expand an encoded predicate name to a URI.

Allows recursive handling of schema prefixes.

Specified by:
expandPredicate in class AbstractSchema
Parameters:
name - The predicate name to expand. Initially, this may include a schema prefix (i.e. DC.Identifier), but may be processed recursively without its schema prefix to handle refined elements that use the dot separator scheme DC.Date.modified or eGMS.Addressee.addresseeCopy.
predicate - The original predicate to fall back to if there is no match.
Returns:
The expanded URI reference for the predicate name, or the original predicate if the name part is not matched.
Since:
Verison 0.1 2004-12-23

getPredicateUri

protected final java.lang.String getPredicateUri(java.lang.String predicate)
Get the URI mapped to the predicate.

Parameters:
predicate - The predicate name without any prefix.
Returns:
The URI mapped to the predicate or null if not found.
Since:
Version 0.6 2005-05-27

getNamedPredicateProperty

public final SchemaProperty getNamedPredicateProperty(java.lang.String name)
Get the schema property for a given predicate.

Specified by:
getNamedPredicateProperty in interface Schema
Parameters:
name - The predicate name without prefix.
Returns:
The schema property for the predicate or null if no mapping exists.
Since:
Version 0.9 2005-06-16

expandScheme

protected final java.lang.String expandScheme(java.lang.String name,
                                              java.lang.String scheme)
Expand an encoded scheme value to a URI.

Allows recursive handling of schema prefixes.

Specified by:
expandScheme in class AbstractSchema
Parameters:
name - The encoding scheme name to expand. Initially, this may include a schema prefix (i.e. DCTERMS.URI), but may be processed recursively without its schema prefix.
scheme - The original scheme to fall back to if there is no match.
Returns:
The expanded URI reference for the scheme, or the original string if it is not matched.
Since:
Version 0.1 2004-12-23

getSchemeUri

protected final java.lang.String getSchemeUri(java.lang.String scheme)
Get the URI mapped to the scheme.

Parameters:
scheme - The scheme name without any prefix.
Returns:
The URI mapped to the scheme or null if not found.
Since:
Version 0.6 2005-05-27

getUri

public final java.lang.String getUri()
Get the base URI for the metadata schema.

Specified by:
getUri in interface Schema
Returns:
The namespace URI for the metadata schema.
Since:
Version 0.1 2004-12-23

getDefaultPrefix

public final java.lang.String getDefaultPrefix()
Get the default namespace prefix for the schema.

Specified by:
getDefaultPrefix in interface Schema
Returns:
The default namepace prefix for the schema.
Since:
Version 0.3 2005-03-01

getAllPrefixes

public final java.lang.String[] getAllPrefixes()
Get the HTML metadata prefixes recognised by this schema.

Specified by:
getAllPrefixes in interface Schema
Returns:
An array of one or more schema prefixes in mixed case.
Since:
Version 0.6 2005-05-27

providesQualifiers

public final boolean providesQualifiers()
Signal whether the schema provides element qualifiers.

Specified by:
providesQualifiers in interface Schema
Returns:
true if the schema
Since:
Version 0.4 2005-03-10

providesQualifiersFor

public final boolean providesQualifiersFor(java.lang.String uri)
Check whether the schema provides qualifiers for a specific schema.

Specified by:
providesQualifiersFor in interface Schema
Parameters:
uri - The URI of another schema to check for extensions.
Returns:
true if the schema provieds qualifiers for the schema signified by the URI.
Since:
Version 0.6 2005-03-10

getPredicates

public final java.util.Collection getPredicates()
Get a collection of schema property predicates for this schema.

Specified by:
getPredicates in interface Schema
Returns:
A collection of predicate names.
Since:
Version 0.7 2005-06-10

getName

public final java.lang.String getName()
Get the common name for the schema.

Specified by:
getName in interface Schema
Returns:
The common name for the schema.
Since:
Version 1.0 2005-06-17