org.fcrepo.oai
Class SimpleMetadataFormat

java.lang.Object
  extended by org.fcrepo.oai.SimpleMetadataFormat
All Implemented Interfaces:
MetadataFormat

public class SimpleMetadataFormat
extends Object
implements MetadataFormat

A simple implementation of MetadataFormat that provides getters on the values passed in the constructor.

Author:
Chris Wilper

Constructor Summary
SimpleMetadataFormat(String prefix, String schemaLocation, String namespaceURI)
           
 
Method Summary
 String getNamespaceURI()
          Get the URI of the namespace.
 String getPrefix()
          Get the prefix of the format.
 String getSchemaLocation()
          Get the URL of the schema.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleMetadataFormat

public SimpleMetadataFormat(String prefix,
                            String schemaLocation,
                            String namespaceURI)
Method Detail

getPrefix

public String getPrefix()
Description copied from interface: MetadataFormat
Get the prefix of the format.

Specified by:
getPrefix in interface MetadataFormat

getSchemaLocation

public String getSchemaLocation()
Description copied from interface: MetadataFormat
Get the URL of the schema.

Specified by:
getSchemaLocation in interface MetadataFormat

getNamespaceURI

public String getNamespaceURI()
Description copied from interface: MetadataFormat
Get the URI of the namespace.

Specified by:
getNamespaceURI in interface MetadataFormat


Copyright © 2011 DuraSpace. All Rights Reserved.