DLESE Tools
v1.6.0

org.dlese.dpc.ndr.reader
Class Tester

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

public class Tester
extends Object

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 Summary
Tester()
           
 
Method Summary
static void agentReader()
           
static void aggregatorReaderTester()
           
static void main(String[] args)
           
protected static void pp(Node node)
          Prints a dom4j.Node as formatted string.
static void setDebug(boolean bool)
          Sets the debug attribute of the NdrObjectReader class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tester

public Tester()
Method Detail

aggregatorReaderTester

public static void aggregatorReaderTester()
                                   throws Exception
Throws:
Exception

agentReader

public static void agentReader()
                        throws Exception
Throws:
Exception

main

public static void main(String[] args)
                 throws Exception
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(Node node)
Prints a dom4j.Node as formatted string.

Parameters:
node - NOT YET DOCUMENTED

DLESE Tools
v1.6.0