org.ipdr.test
Class ConvertXDRtoXML

java.lang.Object
  extended by org.ipdr.test.ConvertXDRtoXML

public class ConvertXDRtoXML
extends java.lang.Object

This tool will convert XDR to XML.


Field Summary
protected  java.lang.String inputFileName_
          String to store input file name.
protected  java.lang.String ipdrVersion_
          String to store the IPDR Version.
protected  int noArgs_
          To store the number of command line arguments.
protected  java.lang.String outFileDir_
          String to store outfile path.
protected  boolean validateSchema_
          Flag indicating validation of Schema.
 
Constructor Summary
ConvertXDRtoXML()
           
 
Method Summary
 void convertData()
          This method is called by calling application to read CompositeData from a XML file and write it to a XDR file.
static void main(java.lang.String[] args)
          Entry point to the read tool.
protected  void processCommandLineParameters(java.lang.String[] args)
          Method to process the command line parameters
protected  void testToolUsage()
          Method which tells about the usage of Read TestTool
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

validateSchema_

protected boolean validateSchema_
Flag indicating validation of Schema.


ipdrVersion_

protected java.lang.String ipdrVersion_
String to store the IPDR Version.


inputFileName_

protected java.lang.String inputFileName_
String to store input file name.


outFileDir_

protected java.lang.String outFileDir_
String to store outfile path.


noArgs_

protected int noArgs_
To store the number of command line arguments.

Constructor Detail

ConvertXDRtoXML

public ConvertXDRtoXML()
Method Detail

convertData

public void convertData()
                 throws IPDRException,
                        BadCompositeException
This method is called by calling application to read CompositeData from a XML file and write it to a XDR file.

Throws:
IPDRException
BadCompositeException

testToolUsage

protected void testToolUsage()
Method which tells about the usage of Read TestTool


processCommandLineParameters

protected void processCommandLineParameters(java.lang.String[] args)
                                     throws IPDRException,
                                            BadCompositeException
Method to process the command line parameters

Throws:
IPDRException
BadCompositeException

main

public static void main(java.lang.String[] args)
Entry point to the read tool.