Package org.geotools.data.efeature

Examples of org.geotools.data.efeature.EFeatureHints


        //
        this.binary = binary;
        //
        // Prepare hints
        //
        EFeatureHints eHints = new EFeatureHints();
        Set<EAttribute> eAttrSet = (Set<EAttribute>)eHints.get(EFeatureHints.EFEATURE_ID_ATTRIBUTES);
        eAttrSet.add(EFeatureTestsPackage.eINSTANCE.getEFeatureCompatibleData_ID());
        eAttrSet = (Set<EAttribute>)eHints.get(EFeatureHints.EFEATURE_SRID_ATTRIBUTES);
        eAttrSet.add(EFeatureTestsPackage.eINSTANCE.getEFeatureCompatibleData_SRID());
        eAttrSet = (Set<EAttribute>)eHints.get(EFeatureHints.EFEATURE_DEFAULT_ATTRIBUTES);
        eAttrSet.add(EFeatureTestsPackage.eINSTANCE.getEFeatureCompatibleData_Default());
        Set<String> eStrSet = (Set<String>)eHints.get(EFeatureHints.EFEATURE_DEFAULT_GEOMETRY_NAMES);
        eStrSet.add("geometry");
       
        //
        // Forward to default implementation
        //
View Full Code Here


     */
    public ESimpleFeatureDelegate(EFeatureInfo eStructure, EObject eObject, SimpleFeature feature, EFeatureHints eHints) {
        this.feature = feature;
        this.eObject = eObject;
        this.eStructure = eStructure;
        this.eHints = eHints == null ? new EFeatureHints(eStructure.eHints()) : eHints;
    }
View Full Code Here

            throw new IllegalStateException("EFeatureDelegate is not created");
        }
        //
        // Ensure hints exists
        //
        eHints = (eHints==null ? new EFeatureHints(eInternal.eStructure.eHints()) : eHints);       
        //
        // Replace hints
        //
        this.eInternal.eReplace(eHints, true);    
    }
View Full Code Here

            }
        }
        //
        // Ensure hints exists
        //
        eHints = (eHints==null ? new EFeatureHints(eStructure.eHints()) : eHints);
        //
        // Is known implementation?
        //
        if(eImpl instanceof EFeatureImpl) {
            //
View Full Code Here

    public EFeatureInternal(EFeatureContext eContext, EFeature eImpl)
        throws IllegalArgumentException {
        //
        // Build EFeature structure from EObject instance
        //
        this(EFeatureInfo.create(eContext, eImpl, new EFeatureHints()), eImpl, null);
    }
View Full Code Here

        //
        this.eImpl = new WeakReference<EFeature>(eImpl);
        //
        // Copy structure hints
        //
        this.eHints = (eHints==null ? new EFeatureHints(eStructure.eHints()) : eHints);
        //
        // Set structure
        //
        setStructure(eStructure);
    }
View Full Code Here

TOP

Related Classes of org.geotools.data.efeature.EFeatureHints

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.