AdventNet Web NMS 4 DMS API Specification

com.adventnet.nms.extranet.remote.communication.fw
Class DataObjectUtil
java.lang.Object
  |
  +--com.adventnet.nms.extranet.remote.communication.fw.DataObjectUtil

public class DataObjectUtil
extends java.lang.Object

Utility class to convert Element or serializable Object as DataObject, so that it can be sent to DMS from CentralServer or vice versa.


Constructor Summary
DataObjectUtil()
           
 
Method Summary
static DataObject getDataObject(org.w3c.dom.Element ele)
          This method constructs DataObject from the given Element.
static DataObject getDataObject(java.lang.Object obj)
          This method constructs DataObject from the given Object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataObjectUtil

public DataObjectUtil()
Method Detail

getDataObject

public static DataObject getDataObject(org.w3c.dom.Element ele)
This method constructs DataObject from the given Element.
Parameters:
ele - The element from which the DataObject has to be constructed.
Returns:
The DataObject constructed from the given Element.

getDataObject

public static DataObject getDataObject(java.lang.Object obj)
                                throws java.io.NotSerializableException
This method constructs DataObject from the given Object.
Parameters:
obj - The object from which the DataObject has to be constructed.
Returns:
The DataObject constructed from the given Object.
Throws:
java.io.NotSerializableException -  

AdventNet Web NMS 4 DMS API Specification