Class ColorPersistenceFactory

java.lang.Object
org.gvsig.tools.persistence.AbstractSinglePersistenceFactory
org.gvsig.fmap.mapcontext.tools.persistence.ColorPersistenceFactory
All Implemented Interfaces:
org.gvsig.tools.persistence.PersistenceFactory

public class ColorPersistenceFactory extends org.gvsig.tools.persistence.AbstractSinglePersistenceFactory
Factory to manage the persistence of Color objects.
Author:
2009- César Ordiñana - gvSIG team, 2010- Joaquin Jose del Cerro - gvSIG team
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new ColorPersistenceFactory with the DynStruct definition for the Color objects.
  • Method Summary

    Modifier and Type
    Method
    Description
    createFromState(org.gvsig.tools.persistence.PersistentState state)
     
    void
    saveToState(org.gvsig.tools.persistence.PersistentState state, Object obj)
     

    Methods inherited from class org.gvsig.tools.persistence.AbstractSinglePersistenceFactory

    getDefinition, getDefinition, getDefinitions, getDomainName, getDomainURL, getManagedClass, getManagedClass, getManagedClass, getManagedClasses, getManagedClassName, loadFromState, manages, manages, manages, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ColorPersistenceFactory

      public ColorPersistenceFactory()
      Creates a new ColorPersistenceFactory with the DynStruct definition for the Color objects.
  • Method Details

    • createFromState

      public Object createFromState(org.gvsig.tools.persistence.PersistentState state) throws org.gvsig.tools.persistence.exception.PersistenceException
      Throws:
      org.gvsig.tools.persistence.exception.PersistenceException
    • saveToState

      public void saveToState(org.gvsig.tools.persistence.PersistentState state, Object obj) throws org.gvsig.tools.persistence.exception.PersistenceException
      Throws:
      org.gvsig.tools.persistence.exception.PersistenceException