org.ipdr.xdr
Class AttributeDescriptorHelper

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

public abstract class AttributeDescriptorHelper
extends java.lang.Object

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


Constructor Summary
AttributeDescriptorHelper()
           
 
Method Summary
static AttributeDescriptor read(XDRUnMarshaller istream)
          Method used to read an Attribute Descriptor from the input stream.
static void write(XDRMarshaller ostream, AttributeDescriptor value)
          Method used to write an Attribute Descriptor to the output stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeDescriptorHelper

public AttributeDescriptorHelper()
Method Detail

read

public static AttributeDescriptor read(XDRUnMarshaller istream)
                                throws java.io.IOException,
                                       IPDRException
Method used to read an Attribute Descriptor from the input stream.

Parameters:
istream - Input stream to read from
Returns:
Attribute Descriptor 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,
                         AttributeDescriptor value)
                  throws java.io.IOException
Method used to write an Attribute Descriptor to the output stream.

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