DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.ndr.util
Class NsdlDcWriter

java.lang.Object
  extended by 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 Summary
NsdlDcWriter()
          Constructor for the NsdlDcWriter object
NsdlDcWriter(String title, String description, String subject)
          Constructor for the NsdlDcWriter object, given title, description and type values.
 
Method Summary
 Element asElement()
          Returns serviceDescription as an dom4j.Element.
static void main(String[] args)
          The main program for the NsdlDcWriter class
 void setDescription(String description)
          Sets the description attribute of the NsdlDcWriter object
 void setIdentifier(String type)
          Sets the identifier attribute of the NsdlDcWriter object
 void setTitle(String title)
          Sets the title attribute of the NsdlDcWriter object
 void setType(String type)
          Sets the type attribute of the NsdlDcWriter object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 Detail

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 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

DLESE Tools
v1.6.0