[1] Is there a utility class that allows me to pass an AttributeType
or PropertyType object and an Object reflecting an Attribute value to
determine if the Attribute value passes all of the filters?

I can code this on my own, but I thought I would ask if there was a
standard way to do this first.

[2] I noticed that both the org.opengis.simple.SimpleFeature class and
the org.opengis.simple.SimpleFeatureType classes define a
getAttributeCount method. It seems that this method really belongs to
the SimpleFeatureType class. Should it be removed or deprecated from
the SimpleFeature class? (I'll forward this to the GeoAPI mailing
list, but I thought I would ask here first before I embarass myself on
the other mailing list.) :]

[3] I'm trying to implement the SimpleFeature.getAttribute(Name
argName) method. I would like to know if I should be using the
Name.getLocalPart method for this purpose. For example: I've got a
SimpleFeature implementation with an attribute that is identified with
the name "comment". If I constructed a Name object using the fully
qualified name "org.geotools.gpx2.names.comment" would the
getLocalPart method be expected to return "comment". I know this will
depend on my implementation of the Name interface, but I'm just trying
to figure out the expected behavior at this point. In the meantime, I
will leave my SimpleFeature.getAttribute(Name argName) method
unimplemented.

Thanks for the help.

Landon

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to