Examples of feature()


Examples of appeng.core.features.IAEFeature.feature()

      if ( obj instanceof IAEFeature )
      {
        IAEFeature feature = (IAEFeature) obj;

        for (AEFeature f : feature.feature().getFeatures())
          featuresToEntities.put( f, c );

        feature.feature().register();

        feature.postInit();
View Full Code Here

Examples of appeng.core.features.IAEFeature.feature()

        IAEFeature feature = (IAEFeature) obj;

        for (AEFeature f : feature.feature().getFeatures())
          featuresToEntities.put( f, c );

        feature.feature().register();

        feature.postInit();

        return feature.feature();
      }
View Full Code Here

Examples of appeng.core.features.IAEFeature.feature()

        feature.feature().register();

        feature.postInit();

        return feature.feature();
      }
      else if ( obj == null )
        throw new RuntimeException( "No valid constructor found." );
      else
        throw new RuntimeException( "Non AE Feature Registered" );
View Full Code Here

Examples of net.lucidviews.geoalgo.geojson.GeoJsonWriter.feature()

      // The message can't be sent back to the browser if the getWriter method has already been called.
      // So use the output stream from the response and convert to a writer.
      Writer responseWriter = new OutputStreamWriter( response.getOutputStream() );
     
      GeoJsonWriter featureWriter = new GeoJsonWriter( responseWriter );
      featureWriter.feature();
      featureWriter.key( "properties" );
      featureWriter.value( (Object)null );
      featureWriter.key( "geometry" );
      featureWriter.value( (Object)null );
      featureWriter.key( "bbox" );
View Full Code Here

Examples of org.geotools.feature.TypeBuilder.feature()

        builder.addAttribute("measurement", MEASUREMENT);

        builder.cardinality(0, 1);
        builder.addAttribute("project_no", PROJECT_NO);

        wqPlusType = builder.feature();

        return wqPlusType;
    }

    /**
 
View Full Code Here

Examples of org.geotools.feature.TypeBuilder.feature()

        builder.nillable(true);
        builder.cardinality(1, Integer.MAX_VALUE);
        builder.addAttribute("sitename", sitename);

        builder.setName("wq_plus");
        FeatureType wqPlusType = builder.feature();
        return wqPlusType;
    }

    /**
     * A feature may have multiple geometries
View Full Code Here

Examples of org.geotools.feature.TypeBuilder.feature()

        builder.addAttribute("sitename", String.class);

        // use the second geometry attribute as the default one just for testing
        builder.defaultGeometry("nearestSlimePit");

        FeatureType wqPlusType = builder.feature();

        return wqPlusType;
    }

    /**
 
View Full Code Here

Examples of org.geotools.feature.TypeBuilder.feature()

        builder.addAttribute("name", String.class);

        builder.setNamespaceURI(NSURI);
        builder.setName("wq_plus");

        FeatureType wqPlusType = builder.feature();
        return wqPlusType;
    }

    public static ComplexType createMeasurementType(FeatureTypeFactory typeFactory) {
        TypeBuilder builder = new TypeBuilder(typeFactory);
View Full Code Here

Examples of org.geotools.feature.TypeBuilder.feature()

        builder.addAttribute("measurement", MEASUREMENT);

        builder.cardinality(0, 1);
        builder.addAttribute("project_no", PROJECT_NO);

        wqPlusType = builder.feature();

        return wqPlusType;
    }
}
View Full Code Here

Examples of org.geotools.feature.TypeBuilder.feature()

        builder.addAttribute("measurement", MEASUREMENT);

        builder.cardinality(1, 1);
        builder.addAttribute("location", location);

        wq_plusType = builder.feature();

        return wq_plusType;
    }

    public static FeatureType createComplexWaterSampleType() {
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.