Class InputXML

java.lang.Object
org.dlese.dpc.ndr.apiproxy.InputXML

public class InputXML extends Object
Class representing the payload for most NdrRequests. See NDR APIBasics for more information about the InputXML parameter.
Author:
ostwald

  • Constructor Details

    • InputXML

      public InputXML(NDRConstants.NDRObjectType objectType)
      Constructor for the InputXML object for the specified NDR object type.
      Parameters:
      objectType - NOT YET DOCUMENTED
  • Method Details

    • getProperties

      public InputXMLComponent getProperties()
      Gets the properties component of the InputXML object.
      Returns:
      The properties component.
    • getRelationships

      public InputXMLComponent getRelationships()
      Gets the relationships component of the InputXML object
      Returns:
      the Relationships component.
    • getData

      public DataComponent getData()
      Gets the data component of the InputXML object. This is where the data streams invalid input: '&' serviceDescriptions are located.
      Returns:
      The data component.
    • asDocument

      public org.dom4j.Document asDocument()
      Get an org.dom4j.Document representation of the inputXML.
      Returns:
      NOT YET DOCUMENTED
    • asXML

      public String asXML()
      Returns a String representation of the InputXML instance for use as a NdrRequest parameter.
      Returns:
      inputXML as XML string
    • main

      public static void main(String[] args) throws Exception
      The main program for the InputXML class
      Parameters:
      args - The command line arguments
      Throws:
      Exception - NOT YET DOCUMENTED