Class PersisterRegistry


  • public abstract class PersisterRegistry
    extends java.lang.Object
    Author:
    svata
    • Constructor Detail

      • PersisterRegistry

        public PersisterRegistry()
    • Method Detail

      • getPersisterByClass

        public abstract IJCPersister getPersisterByClass​(java.lang.Class clazz)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • getPersisterByName

        public abstract IJCPersister getPersisterByName​(java.lang.String tagName,
                                                        java.lang.String nsName)
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • getFactoryByClass

        public final IJCPersister getFactoryByClass​(java.lang.Object bean,
                                                    java.lang.Class startFrom)
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • getDefault

        public static PersisterRegistry getDefault()
        Get default implementation of PersisterRegistry.
        Returns:
        default implementation of PersisterRegistry
      • getFormPersisterRegistry

        public static PersisterRegistry getFormPersisterRegistry()
      • getPersisterByObject

        public final IJCPersister getPersisterByObject​(java.lang.Object bean)
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • getPersisterByName

        public final IJCPersister getPersisterByName​(org.w3c.dom.Element state)
                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • load

        public final java.lang.Object load​(org.openide.util.Lookup context,
                                           java.lang.Object prototype,
                                           org.w3c.dom.Element data)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • load

        public final java.lang.Object load​(org.openide.util.Lookup context,
                                           java.lang.Object prototype,
                                           org.w3c.dom.Element data,
                                           com.im.commons.progress.DFEnvironmentRO env)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • save

        public final void save​(org.openide.util.Lookup context,
                               java.lang.Object bean,
                               org.w3c.dom.Node parent)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • save

        public final void save​(org.openide.util.Lookup context,
                               java.lang.Object bean,
                               org.w3c.dom.Document doc)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • save

        public final void save​(org.openide.util.Lookup context,
                               java.lang.Object bean,
                               org.w3c.dom.Document doc,
                               com.im.commons.progress.DFEnvironmentRO env)
                        throws java.io.IOException
        Throws:
        java.io.IOException