Class Tester

java.lang.Object
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 Details

    • Tester

      public Tester()
  • Method Details

    • 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(org.dom4j.Node node)
      Prints a dom4j.Node as formatted string.
      Parameters:
      node - NOT YET DOCUMENTED