Class BoxedPrimitivePersister

  • All Implemented Interfaces:
    com.im.df.api.util.xml.BasicPersisterInit, com.im.df.api.util.xml.IJCPersister, com.im.df.api.util.xml.IJCPersister.Reader, com.im.df.api.util.xml.IJCPersister.Writer

    public class BoxedPrimitivePersister
    extends Object
    implements com.im.df.api.util.xml.IJCPersister, com.im.df.api.util.xml.BasicPersisterInit, com.im.df.api.util.xml.IJCPersister.Reader, com.im.df.api.util.xml.IJCPersister.Writer
    This class persists the boxed primitive types from java.lang (java.util) package.
    Author:
    svata
    • Constructor Detail

      • BoxedPrimitivePersister

        public BoxedPrimitivePersister()
    • Method Detail

      • getPersisterRegistry

        public com.im.df.api.util.xml.PersisterRegistry getPersisterRegistry()
        Specified by:
        getPersisterRegistry in interface com.im.df.api.util.xml.IJCPersister
      • setPersisterRegistry

        public void setPersisterRegistry​(com.im.df.api.util.xml.PersisterRegistry persisterRegistry)
        Specified by:
        setPersisterRegistry in interface com.im.df.api.util.xml.IJCPersister
      • init

        public com.im.df.api.util.xml.IJCPersister init()
        Specified by:
        init in interface com.im.df.api.util.xml.BasicPersisterInit
      • setClassBeanInfo

        public void setClassBeanInfo​(BeanInfo classBeanInfo)
        Specified by:
        setClassBeanInfo in interface com.im.df.api.util.xml.BasicPersisterInit
      • setPropertyAttributes

        public void setPropertyAttributes​(Map<String,​String> propertyAttributes)
        Specified by:
        setPropertyAttributes in interface com.im.df.api.util.xml.BasicPersisterInit
      • setQName

        public void setQName​(QName qName)
        Specified by:
        setQName in interface com.im.df.api.util.xml.BasicPersisterInit
      • create

        public Object create​(Object o)
        Specified by:
        create in interface com.im.df.api.util.xml.IJCPersister.Reader
      • getQName

        public QName getQName​(Object bean)
        Specified by:
        getQName in interface com.im.df.api.util.xml.IJCPersister
      • isPrimitive

        public boolean isPrimitive​(Class<?> type)
        Specified by:
        isPrimitive in interface com.im.df.api.util.xml.IJCPersister
      • getType

        public Class<?> getType​(Node n)
        Specified by:
        getType in interface com.im.df.api.util.xml.IJCPersister
      • createReader

        public com.im.df.api.util.xml.IJCPersister.Reader createReader​(org.openide.util.Lookup context,
                                                                       Class<?> expected,
                                                                       Node parent,
                                                                       com.im.commons.progress.DFEnvironmentRO env)
        Specified by:
        createReader in interface com.im.df.api.util.xml.IJCPersister
      • createWriter

        public com.im.df.api.util.xml.IJCPersister.Writer createWriter​(org.openide.util.Lookup context,
                                                                       Object bean,
                                                                       com.im.commons.progress.DFEnvironmentRO env)
        Specified by:
        createWriter in interface com.im.df.api.util.xml.IJCPersister