Package org.geotools.data.efeature.internal

Examples of org.geotools.data.efeature.internal.EFeatureInfoCache


     * {@link EFeatureInfo structure}.
     * </p>
     */
    protected EFeatureInfoCache eFeatureInfoCache() {
        if(eFeatureInfoCache==null) {
            eFeatureInfoCache = new EFeatureInfoCache(eFeatureInfoCacheVoter());
        }
        return eFeatureInfoCache;
    }   
View Full Code Here


        Map<String, EFeatureInfo> eFeatureMap =
            new HashMap<String, EFeatureInfo>(eList.size());
        //
        // Get EFeatureInfo cache
        //
        EFeatureInfoCache eCache = eFolderInfo.eContext(false).eStructure().eFeatureInfoCache();
        //
        // Inspect EMF package, adding all EFeature and EFeature compatible classes.
        //
        for(EClassifier it : eList)
        {
            //
            // Check if it implements EFeature or contains EFeature compatible data
            //
            if(EFeatureUtils.isCompatible(it))
            {
                EClass eClass = (EClass)it;
                EFeatureInfo eFeatureInfo = eCache.get(eClass);
                if(eFeatureInfo==null) {
                    eFeatureInfo = EFeatureInfo.create(eFolderInfo, (EClass)it);
                }
                eFeatureInfo = eCache.get(eClass);
                eFeatureMap.put(eFeatureInfo.eName(), eFeatureInfo);
            }
        }     
        //
        // Finished
View Full Code Here

TOP

Related Classes of org.geotools.data.efeature.internal.EFeatureInfoCache

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.