DLESE Tools
v1.6.0

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

java.lang.Object
  extended by org.dlese.dpc.schemedit.ndr.util.DcStream

public class DcStream
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: DcStream.java,v 1.3 2009/03/20 23:33:56 jweather Exp $
Author:
Jonathan Ostwald

Constructor Summary
DcStream()
          Constructor for the DcStream object
DcStream(String title, String description, String subject)
          Constructor for the DcStream 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 DcStream class
 void setDescription(String description)
          Sets the description attribute of the DcStream object
 void setIdentifier(String type)
          Sets the identifier attribute of the DcStream object
 void setTitle(String title)
          Sets the title attribute of the DcStream object
 void setType(String type)
          Sets the type attribute of the DcStream object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DcStream

public DcStream()
Constructor for the DcStream object


DcStream

public DcStream(String title,
                String description,
                String subject)
Constructor for the DcStream 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 DcStream object

Parameters:
title - The new title value

setDescription

public void setDescription(String description)
Sets the description attribute of the DcStream object

Parameters:
description - The new description value

setType

public void setType(String type)
Sets the type attribute of the DcStream object

Parameters:
type - The new type value

setIdentifier

public void setIdentifier(String type)
Sets the identifier attribute of the DcStream 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 DcStream class

Parameters:
args - The command line arguments
Throws:
Exception - NOT YET DOCUMENTED

DLESE Tools
v1.6.0