com.mkdoc.schema
Interface Resolver

All Known Subinterfaces:
ApplicationProfile, Schema
All Known Implementing Classes:
AbstractSchema, DublinCoreElements, DublinCoreProfile, DublinCoreTerms, UKeGMS, UKeGMSProfile

public interface Resolver

A basic metadata resolver interface.

Version:
0.1 2005-05-25
Author:
Philip Shaw
To do:
May ultimately transfer all methods to ApplicationProfile

Method Summary
 java.lang.String expandPredicate(java.lang.String predicate)
          Expand an encoded predicate to a URI.
 java.lang.String expandScheme(java.lang.String scheme)
          Expand an encoded scheme value to a URI.
 

Method Detail

expandPredicate

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

Parameters:
predicate - The predicate to expand, including any schema prefix.
Returns:
The expanded URI reference for the predicate or the original string if it is not matched.
Since:
Version 0.1 2005-05-25

expandScheme

public java.lang.String expandScheme(java.lang.String scheme)
Expand an encoded scheme value to a URI.

Parameters:
scheme - The scheme to expand.
Returns:
The expanded URI reference for the scheme, or the original string if it is not matched.
Since:
Version 0.1 2005-05-25