Examples of EFeatureContextImpl


Examples of org.geotools.data.efeature.impl.EFeatureContextImpl

                        "EFeatureContext " + eContextID + "' already exists");
            }
            //
            // All OK, go ahead and create context and structure.
            //
            EFeatureContext eContext = new EFeatureContextImpl(this, eContextID, eIDFactory);
            //
            // Map context to id (required by subsequent create methods)
            //
            eContextMap.put(eContextID, eContext);
            //
            // Create structure info object
            //
            eContextInfo = EFeatureContextInfo.create(this,eContextID, eHints);
            //
            // Map structure to id
            //
            eContextInfoMap.put(eContextID, eContextInfo);
            //
            // -----------------------------------------------------
            //  Add EFeature as prototype.
            // -----------------------------------------------------
            //  This is an important step. It allows the context to
            //  filter on any EFeature implementation, and enables
            //  _ANY_ EFeature implementation to be adapted into
            //  this context.
            // -----------------------------------------------------
            //
            EFeaturePackage ePackage = EFeaturePackage.eINSTANCE;
            eContext.eAdd(ePackage);
            EFeatureInfo eFeatureInfo = EFeatureInfo.create(eContext, ePackage.getEFeature(), eHints);
            //
            // -----------------------------------------------------
            //  Validate structure (required)
            // -----------------------------------------------------
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.