org.gcube.common
Class OAIMetadataFormat

java.lang.Object
  extended by org.gcube.common.OAIMetadataFormat

public class OAIMetadataFormat
extends Object

This class represents an OAI Metadata Format. This object is returned by the OAIMetadataFormatList.getCurrentItem() method.


Constructor Summary
OAIMetadataFormat()
          Constructs an empty OAI metadata format
 
Method Summary
protected  void frndSetMetadataNamespace(String mn)
           
protected  void frndSetMetadataPrefix(String mp)
           
protected  void frndSetSchema(String s)
           
protected  void frndSetValid(boolean b)
           
 String getMetadataNamespace()
          Returns the XML namespace of this metadata format.
 String getMetadataPrefix()
          Returns the prefix used for this metadata format.
 String getSchema()
          Returns the URL of the XML schema for this metadata format
 boolean isMetadataFormatValid()
          Returns true if the record list appears to be valid (well-formed, and if the Validation if Very Strict also valid according to the XML Schemas); if the Validation is Loose and the record is not well-formed, false is returned.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OAIMetadataFormat

public OAIMetadataFormat()
Constructs an empty OAI metadata format

Method Detail

isMetadataFormatValid

public boolean isMetadataFormatValid()
Returns true if the record list appears to be valid (well-formed, and if the Validation if Very Strict also valid according to the XML Schemas); if the Validation is Loose and the record is not well-formed, false is returned.


frndSetValid

protected void frndSetValid(boolean b)

getMetadataNamespace

public String getMetadataNamespace()
Returns the XML namespace of this metadata format.


getMetadataPrefix

public String getMetadataPrefix()
Returns the prefix used for this metadata format.


getSchema

public String getSchema()
Returns the URL of the XML schema for this metadata format


frndSetMetadataNamespace

protected void frndSetMetadataNamespace(String mn)

frndSetMetadataPrefix

protected void frndSetMetadataPrefix(String mp)

frndSetSchema

protected void frndSetSchema(String s)


Copyright © 2013. All Rights Reserved.