Package org.dlese.dpc.ndr.reader
Class Tester
java.lang.Object
org.dlese.dpc.ndr.reader.Tester
Base Class for reading NDR responses to GET Requests, used primarily to
support NDR Import operations. Extended to read specific types of NDR
Objects, such as Metadata and MetadataProvider.
NOTE: this implementation localizes the response from the NDR and thereby throws out all namespace information. This may be too simplistic, since the NDR responses make heavy use of namespaces to avoid element naming colisions.
- Version:
- $Id: Tester.java,v 1.3 2009/08/19 18:21:13 ostwald Exp $
- Author:
- ostwald
$Id $
-
Constructor Details
-
Tester
public Tester()
-
-
Method Details
-
aggregatorReaderTester
- Throws:
Exception
-
agentReader
- Throws:
Exception
-
main
- Throws:
Exception
-
setDebug
public static void setDebug(boolean bool) Sets the debug attribute of the NdrObjectReader class- Parameters:
bool- The new debug value
-
pp
protected static void pp(org.dom4j.Node node) Prints a dom4j.Node as formatted string.- Parameters:
node- NOT YET DOCUMENTED
-