Package org.dlese.dpc.ndr.reader
Class ServiceDescriptionReader
java.lang.Object
org.dlese.dpc.ndr.reader.ServiceDescriptionReader
Reads ServiceDescription data stream as a dom4j.Document and provides access
to components.
- Author:
- ostwald
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor for the ServiceDescriptionReader objectConstructor for the ServiceDescriptionReader object -
Method Summary
Modifier and TypeMethodDescriptionGets the description attribute of the ServiceDescriptionReader objectorg.dom4j.DocumentGets the document attribute of the ServiceDescriptionReader objectgetNSMap()Gets the nSMap attribute of the ServiceDescriptionReader objectgetTitle()Gets the title attribute of the ServiceDescriptionReader objectstatic voidThe main program for the ServiceDescriptionReader classprotected static voidpp(org.dom4j.Node node) Prints a dom4j.Node as formatted string.
-
Constructor Details
-
ServiceDescriptionReader
Constructor for the ServiceDescriptionReader object- Parameters:
xml- NOT YET DOCUMENTED- Throws:
Exception- NOT YET DOCUMENTED
-
ServiceDescriptionReader
Constructor for the ServiceDescriptionReader object- Parameters:
url- NOT YET DOCUMENTED- Throws:
Exception- NOT YET DOCUMENTED
-
-
Method Details
-
getDocument
public org.dom4j.Document getDocument()Gets the document attribute of the ServiceDescriptionReader object- Returns:
- The document value
-
getNSMap
Gets the nSMap attribute of the ServiceDescriptionReader object- Returns:
- The nSMap value
-
getTitle
Gets the title attribute of the ServiceDescriptionReader object- Returns:
- The title value
-
getDescription
Gets the description attribute of the ServiceDescriptionReader object- Returns:
- The description value
-
main
The main program for the ServiceDescriptionReader class- Parameters:
args- The command line arguments- Throws:
Exception- NOT YET DOCUMENTED
-
pp
protected static void pp(org.dom4j.Node node) Prints a dom4j.Node as formatted string.- Parameters:
node- NOT YET DOCUMENTED
-