Class NsdlDcWriter

java.lang.Object
org.dlese.dpc.schemedit.ndr.util.NsdlDcWriter

public class NsdlDcWriter extends Object
Class to construct serviceDescription elements to be used in NDR Objects (i.e., MetadataProvider and Aggregator), as described at http://ndr.comm.nsdl.org/cgi-bin/wiki.pl?addMetadataProvider.
Version:
$Id: NsdlDcWriter.java,v 1.2 2009/03/20 23:33:56 jweather Exp $
Author:
Jonathan Ostwald
  • Constructor Details

    • NsdlDcWriter

      public NsdlDcWriter()
      Constructor for the NsdlDcWriter object
    • NsdlDcWriter

      public NsdlDcWriter(String title, String description, String subject)
      Constructor for the NsdlDcWriter object, given title, description and type values.
      Parameters:
      title - NOT YET DOCUMENTED
      description - NOT YET DOCUMENTED
      type - NOT YET DOCUMENTED
  • Method Details

    • setTitle

      public void setTitle(String title)
      Sets the title attribute of the NsdlDcWriter object
      Parameters:
      title - The new title value
    • setDescription

      public void setDescription(String description)
      Sets the description attribute of the NsdlDcWriter object
      Parameters:
      description - The new description value
    • setType

      public void setType(String type)
      Sets the type attribute of the NsdlDcWriter object
      Parameters:
      type - The new type value
    • setIdentifier

      public void setIdentifier(String type)
      Sets the identifier attribute of the NsdlDcWriter object
      Parameters:
      type - The new identifier value
    • asElement

      public org.dom4j.Element asElement()
      Returns serviceDescription as an dom4j.Element.
      Returns:
      NOT YET DOCUMENTED
    • main

      public static void main(String[] args) throws Exception
      The main program for the NsdlDcWriter class
      Parameters:
      args - The command line arguments
      Throws:
      Exception - NOT YET DOCUMENTED