org.ocd.blx
Class SerializeObjectFactory
java.lang.Object
|
+--org.ocd.blx.SerializeObjectFactory
- All Implemented Interfaces:
- IXMLObjectFactory
- public class SerializeObjectFactory
- extends java.lang.Object
- implements IXMLObjectFactory
- Version:
-
- Author:
- drichan
Field Summary |
static java.lang.String |
NODE_NAME
|
Method Summary |
org.w3c.dom.Element |
getBLXElement(java.lang.Object pObject)
Return a BLX Element for this Object Factory
This will return a BLX Element that wraps some kind of data element for the object |
java.lang.Object |
getObject(org.w3c.dom.Element pElement,
java.net.URL pRelativeURL)
Get the Object from an Element |
org.w3c.dom.Element |
getXMLElement(java.lang.Object pObject)
Returns an XML Element that wraps the serialized Data of an Object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NODE_NAME
public static final java.lang.String NODE_NAME
SerializeObjectFactory
public SerializeObjectFactory()
- Creates new XMLSerializeUtility
getXMLElement
public org.w3c.dom.Element getXMLElement(java.lang.Object pObject)
- Returns an XML Element that wraps the serialized Data of an Object
- Parameters:
Object
- to Serialize- Returns:
- Element
getObject
public java.lang.Object getObject(org.w3c.dom.Element pElement,
java.net.URL pRelativeURL)
throws java.lang.ClassNotFoundException
- Get the Object from an Element
- Specified by:
getObject
in interface IXMLObjectFactory
- Parameters:
Element
- - Returns:
- Object
getBLXElement
public org.w3c.dom.Element getBLXElement(java.lang.Object pObject)
- Return a BLX Element for this Object Factory
This will return a BLX Element that wraps some kind of data element for the object
- Specified by:
getBLXElement
in interface IXMLObjectFactory
- Parameters:
object
- to get element for- Returns:
- element