com.mkdoc.schema
Class DublinCoreProfile

java.lang.Object
  |
  +--com.mkdoc.schema.AbstractApplicationProfile
        |
        +--com.mkdoc.schema.DublinCoreProfile
All Implemented Interfaces:
ApplicationProfile, Resolver

public class DublinCoreProfile
extends AbstractApplicationProfile
implements ApplicationProfile

A pure Dublin Core application profile.

Interim version adapts a DublinCoreElements instance.

Version:
0.5 2005-07-25
Author:
Philip Shaw

Field Summary
 
Fields inherited from class com.mkdoc.schema.AbstractApplicationProfile
DCTERMS, schemas
 
Constructor Summary
DublinCoreProfile()
          Set up the schema mapping.
 
Method Summary
protected  java.lang.String expandPredicateProfile(java.lang.String predicate)
          Template method for falling back to profile-specific algorithms.
protected  java.lang.String expandSchemeProfile(java.lang.String scheme)
          Template method for falling back to profile-specific algorithms.
 SchemaProperty getPrimarySearchProperty()
          Get the primary search property for the schema.
 SchemaProperty getSummaryProperty()
          Get the summary property for the schema.
 SchemaProperty getTitleProperty()
          Get the title property for the schema.
 
Methods inherited from class com.mkdoc.schema.AbstractApplicationProfile
addSchema, expandPredicate, expandScheme, getPredicateProperty, getPrimarySchema, getSchemaMap, hasPrimarySchema
 
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.ApplicationProfile
getPredicateProperty, getSchemaMap
 
Methods inherited from interface com.mkdoc.schema.Resolver
expandPredicate, expandScheme
 

Constructor Detail

DublinCoreProfile

public DublinCoreProfile()
Set up the schema mapping.

Since:
Version 0.1 2005-05-25
Method Detail

expandPredicateProfile

protected final java.lang.String expandPredicateProfile(java.lang.String predicate)
Template method for falling back to profile-specific algorithms.

Specified by:
expandPredicateProfile in class AbstractApplicationProfile
Parameters:
predicate - A predicate that has not been matched using default schema prefixes.
Returns:
A predicate URI or null if not matched.
Since:
Version 0.2 2005-05-27

expandSchemeProfile

protected final java.lang.String expandSchemeProfile(java.lang.String scheme)
Template method for falling back to profile-specific algorithms.

Specified by:
expandSchemeProfile in class AbstractApplicationProfile
Parameters:
scheme - A scheme that has not been matched using default schema prefixes.
Returns:
A scheme URI or null if not matched.
Since:
Version 0.2 2005-05-27

getPrimarySearchProperty

public final SchemaProperty getPrimarySearchProperty()
Get the primary search property for the schema.

Specified by:
getPrimarySearchProperty in interface ApplicationProfile
Returns:
The primary search property for the schema.
Since:
Version 0.4 2005-06-17

getTitleProperty

public final SchemaProperty getTitleProperty()
Get the title property for the schema.

Specified by:
getTitleProperty in interface ApplicationProfile
Returns:
The resource title property for the schema.
Since:
Version 0.5 2005-07-25

getSummaryProperty

public final SchemaProperty getSummaryProperty()
Get the summary property for the schema.

Specified by:
getSummaryProperty in interface ApplicationProfile
Returns:
The resource summary property for the schema.
Since:
Version 0.5 2005-07-25