Package org.dlese.dpc.schemedit.ndr.util
Class DcStream
java.lang.Object
org.dlese.dpc.schemedit.ndr.util.DcStream
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.dom4j.ElementReturns serviceDescription as an dom4j.Element.static voidThe main program for the DcStream classvoidsetDescription(String description) Sets the description attribute of the DcStream objectvoidsetIdentifier(String type) Sets the identifier attribute of the DcStream objectvoidSets the title attribute of the DcStream objectvoidSets the type attribute of the DcStream object
-
Constructor Details
-
DcStream
public DcStream()Constructor for the DcStream object -
DcStream
Constructor for the DcStream object, given title, description and type values.- Parameters:
title- NOT YET DOCUMENTEDdescription- NOT YET DOCUMENTEDtype- NOT YET DOCUMENTED
-
-
Method Details
-
setTitle
Sets the title attribute of the DcStream object- Parameters:
title- The new title value
-
setDescription
Sets the description attribute of the DcStream object- Parameters:
description- The new description value
-
setType
Sets the type attribute of the DcStream object- Parameters:
type- The new type value
-
setIdentifier
Sets the identifier attribute of the DcStream object- Parameters:
type- The new identifier value
-
asElement
public org.dom4j.Element asElement()Returns serviceDescription as an dom4j.Element.- Returns:
- NOT YET DOCUMENTED
-
main
The main program for the DcStream class- Parameters:
args- The command line arguments- Throws:
Exception- NOT YET DOCUMENTED
-