Class ServiceDescriptionReader

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

    Constructors
    Constructor
    Description
    Constructor for the ServiceDescriptionReader object
    Constructor for the ServiceDescriptionReader object
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the description attribute of the ServiceDescriptionReader object
    org.dom4j.Document
    Gets the document attribute of the ServiceDescriptionReader object
    Gets the nSMap attribute of the ServiceDescriptionReader object
    Gets the title attribute of the ServiceDescriptionReader object
    static void
    main(String[] args)
    The main program for the ServiceDescriptionReader class
    protected static void
    pp(org.dom4j.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 Details

    • 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 Details

    • getDocument

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