org.ocd.blx
Interface IXMLObjectFactory

All Known Implementing Classes:
SerializeObjectFactory

public interface IXMLObjectFactory

Version:
 
Author:
drichan

Method Summary
 org.w3c.dom.Element getBLXElement(java.lang.Object pObject)
          Return a BLX Element for this Object 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)
          Gets an Object from the Data Element of a BLX Object Factory Element The element passed to this method should be the XML Data Element not the BLX Element
 

Method Detail

getObject

public java.lang.Object getObject(org.w3c.dom.Element pElement,
                                  java.net.URL pRelativeURL)
                           throws java.lang.ClassNotFoundException
Gets an Object from the Data Element of a BLX Object Factory Element The element passed to this method should be the XML Data Element not the BLX Element
Parameters:
Element - for Data
Returns:
Object

getBLXElement

public org.w3c.dom.Element getBLXElement(java.lang.Object pObject)
Return a BLX Element for this Object This will return a BLX Element that wraps some kind of data element for the object
Parameters:
object - to get element for
Returns:
element