Class CFMetaDataSerializer

    • Constructor Detail

      • CFMetaDataSerializer

        public CFMetaDataSerializer()
    • Method Detail

      • getPackage

        protected java.lang.String getPackage()
        The default package for objects being serialized.
      • setPackage

        protected void setPackage​(java.lang.String pkg)
        The default package for objects being serialized.
      • groupByPackage

        protected java.util.Map<java.lang.String,​java.util.Collection<java.lang.Object>> groupByPackage​(java.util.Collection<java.lang.Object> objs)
                                                                                                       throws org.xml.sax.SAXException
        Helper method to group objects by package.
        Returns:
        mapping of package name to a collection of objects in that package
        Throws:
        org.xml.sax.SAXException
      • getClassName

        protected java.lang.String getClassName​(java.lang.String name)
        Returns the given class name, stripping the package if it is not needed.