DLESE Tools
v1.6.0

org.dlese.dpc.ndr.reader
Class ServiceDescriptionReader

java.lang.Object
  extended by org.dlese.dpc.ndr.reader.ServiceDescriptionReader

public class ServiceDescriptionReader
extends Object

Reads ServiceDescription data stream as a dom4j.Document and provides access to components.

Author:
ostwald

Constructor Summary
ServiceDescriptionReader(String xml)
          Constructor for the ServiceDescriptionReader object
ServiceDescriptionReader(URL url)
          Constructor for the ServiceDescriptionReader object
 
Method Summary
 String getDescription()
          Gets the description attribute of the ServiceDescriptionReader object
 Document getDocument()
          Gets the document attribute of the ServiceDescriptionReader object
 Map getNSMap()
          Gets the nSMap attribute of the ServiceDescriptionReader object
 String getTitle()
          Gets the title attribute of the ServiceDescriptionReader object
static void main(String[] args)
          The main program for the ServiceDescriptionReader class
protected static void pp(Node node)
          Prints a dom4j.Node as formatted string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceDescriptionReader

public ServiceDescriptionReader(String xml)
                         throws Exception
Constructor for the ServiceDescriptionReader object

Parameters:
xml - NOT YET DOCUMENTED
Throws:
Exception - NOT YET DOCUMENTED

ServiceDescriptionReader

public ServiceDescriptionReader(URL url)
                         throws Exception
Constructor for the ServiceDescriptionReader object

Parameters:
url - NOT YET DOCUMENTED
Throws:
Exception - NOT YET DOCUMENTED
Method Detail

getDocument

public Document getDocument()
Gets the document attribute of the ServiceDescriptionReader object

Returns:
The document value

getNSMap

public Map getNSMap()
Gets the nSMap attribute of the ServiceDescriptionReader object

Returns:
The nSMap value

getTitle

public String getTitle()
Gets the title attribute of the ServiceDescriptionReader object

Returns:
The title value

getDescription

public String getDescription()
Gets the description attribute of the ServiceDescriptionReader object

Returns:
The description value

main

public static void main(String[] args)
                 throws Exception
The main program for the ServiceDescriptionReader class

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

pp

protected static void pp(Node node)
Prints a dom4j.Node as formatted string.

Parameters:
node - NOT YET DOCUMENTED

DLESE Tools
v1.6.0