net.sf.j3d.threeD.io
Class LightPersistenceDelegate

java.lang.Object
  extended by java.beans.PersistenceDelegate
      extended by java.beans.DefaultPersistenceDelegate
          extended by net.sf.j3d.threeD.io.LightPersistenceDelegate

public class LightPersistenceDelegate
extends DefaultPersistenceDelegate

A LightPersistenceDelegate object adjusts the way the a Light object is encoded into XML when using an XMLEncoder.


Constructor Summary
LightPersistenceDelegate()
           
 
Method Summary
 void initialize(Class type, Object oldInstance, Object newInstance, Encoder out)
          Properly encodes a Light object.
 
Methods inherited from class java.beans.PersistenceDelegate
writeObject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LightPersistenceDelegate

public LightPersistenceDelegate()
Method Detail

initialize

public void initialize(Class type,
                       Object oldInstance,
                       Object newInstance,
                       Encoder out)
Properly encodes a Light object.

Overrides:
initialize in class DefaultPersistenceDelegate