From: James M. <jma...@ps...> - 2003-03-14 21:08:16
|
At 03:15 PM 3/14/2003 -0500, Chris Holmes wrote: > > Something like > > String[] listAttributesOfType(type); > > > > Where type could be geometry, or perhaps something else. > > > > The String[] would be a set of xpaths to the geometries that were > found. I > > suggest this as a position only works for flat features. > > > > In effect, for FlatFeatures they would just be the attribute names of all > > the geometries, is this enough for you? > >You're right, we should make it more generic. But that method doesn't >help me all that much. OK, we can revisit later... >What could be nice though is a method in AttributeType called >isGeometry(), that returns if it's type is a geometry. That sounds nice and generally useful, I'd say add it. James |