se.kb.oai.pmh
Class MetadataFormat

java.lang.Object
  extended by se.kb.oai.pmh.MetadataFormat

public class MetadataFormat
extends Object

This class has the information for a specific metadata format that exists in the repository.

Author:
Oskar Grenholm, National Library of Sweden

Constructor Summary
MetadataFormat(Node node)
          Create a MetadataFormat from a <metadataFormat> node from the response.
 
Method Summary
 String getNamespace()
          Get the namespace for the metadata format.
 String getPrefix()
          Get the prefix for the metadata format in the repository.
 String getSchema()
          Get the schema for the metadata format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataFormat

public MetadataFormat(Node node)
Create a MetadataFormat from a <metadataFormat> node from the response.

Parameters:
node - a metadataFormat node
Method Detail

getPrefix

public String getPrefix()
Get the prefix for the metadata format in the repository.

Returns:
the prefix

getSchema

public String getSchema()
Get the schema for the metadata format.

Returns:
the schema

getNamespace

public String getNamespace()
Get the namespace for the metadata format.

Returns:
the namespace


Copyright © 2008. All Rights Reserved.