org.ipdr.xdr
Class NameSpaceInfoHelper

java.lang.Object
  extended by org.ipdr.xdr.NameSpaceInfoHelper

public abstract class NameSpaceInfoHelper
extends java.lang.Object

This class is used for writing NameSpaces to the output stream and reading NameSpaces from the input stream.


Constructor Summary
NameSpaceInfoHelper()
           
 
Method Summary
static NameSpaceInfo read(XDRUnMarshaller istream)
          Method used to read a NameSpace Info from the input stream.
static void write(XDRMarshaller ostream, NameSpaceInfo value)
          Method used to write a NameSpace Info to the output stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameSpaceInfoHelper

public NameSpaceInfoHelper()
Method Detail

read

public static NameSpaceInfo read(XDRUnMarshaller istream)
                          throws java.io.IOException,
                                 IPDRException
Method used to read a NameSpace Info from the input stream.

Parameters:
istream - Input stream to read from
Returns:
NameSpace Info read
Throws:
java.io.IOException - when an exception occurs while reading
IPDRException - when a IPDR functionality related exception occurs

write

public static void write(XDRMarshaller ostream,
                         NameSpaceInfo value)
                  throws java.io.IOException
Method used to write a NameSpace Info to the output stream.

Parameters:
ostream - Output stream to write to
value - NameSpace Info to write
Throws:
java.io.IOException - when an exception occurs while writing