Examples of eStructure()


Examples of org.geotools.data.efeature.EFeatureContext.eStructure()

        // Create private context helper with private context factory.
        //
        EFeatureTestsContextHelper eHelper =
            new EFeatureTestsContextHelper(new EFeatureContextFactory(),false, false);
        EFeatureContext eContext = eHelper.eContext();
        EFeatureContextInfo eStructure = eContext.eStructure();
        assertState(eStructure,false,false,false);
        assertStatus(eStructure.validate(),EFeatureStatus.SUCCESS);
        assertState(eStructure,true,true,false);
        assertStructure("EFeatureContext structure mismatch",eStructure);
    }   
View Full Code Here

Examples of org.geotools.data.efeature.EFeatureContext.eStructure()

                "default EFeatureContextFactory instance not found", eFactory);
        assertNotNull("SPI failure, EFeatureContextFactory instance not found", eFactory);
        eFactory = eHelper.eContextFactory();
        assertNotNull("SPI failure, EFeatureContextFactory instance not found", eFactory);
        EFeatureContext eContext = eHelper.eContext();       
        EFeatureContextInfo eInfo = eContext.eStructure();
        assertState(eInfo,false,false,false);
        assertStatus(eInfo.validate(),EFeatureStatus.SUCCESS);
        assertState(eInfo,true,true,false);
        assertStructure("EFeatureContext structure mismatch",eInfo);
    }
View Full Code Here

Examples of org.geotools.data.efeature.EFeatureDataStore.eStructure()

            EFeatureDataStore eStore = eStoreFactory.createDataStore(params);
            String[] typeNames = eStore.getTypeNames();
            for(String it : typeNames) {
                assertTrue("EFeatureDataStore does not contain type ["+it+"]",TYPE_NAMES.contains(it));               
                Name name = new NameImpl(it);
                SimpleFeatureType eTypeI = eStore.eStructure().eGetFeatureInfo(it).getFeatureType();
                SimpleFeatureType eTypeN = eStore.getSchema(name);
                assertTrue("SimpleFeatureTypes are not same instance (Name)",eTypeI==eTypeN);
                SimpleFeatureType eTypeL = eStore.getSchema(it);
                assertTrue("SimpleFeatureTypes are not same instance (Local)",eTypeI==eTypeL);
            }
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.