Apologies, I don't think MultiAttributeType has ever really been used.
It was an experiment, but none of our parsers ever put things in to it.
Why exactly are you trying to create a MultiAttributeType directly?
If you're needing complex functionality, then you should check out the
complex features branch. I think this:
http://svn.geotools.org/geotools/branches/complex-features/ is the svn
link. This branch completes the experiments with a full feature model,
that works with datastores and complex schemas.
best regards,
Chris
David Robison wrote:
I am trying to use a MultiAttributeType. But when I create a feature using an
ArrayList for the attribuite, it complains that it wants a java.util.List not
an ArrayList. I think the problem is that in ListTypeAttribute.java, it checks
for:
if(obj instanceof List){
perhapse it should be
if(obj implements List){
I tried to make the change and compile the code, but after an hour of trying, I could not get either maven 1 or 2 to compile the project (it complained about problems in project.xml).
Any thoughts?
David Robison
--
Chris Holmes
The Open Planning Project
thoughts at: http://cholmes.wordpress.com
begin:vcard
fn:Chris Holmes
n:Holmes;Chris
org:The Open Planning Project
adr:;;377 Broadway, 11th Floor;New York;NY;10013;USA
email;internet:[EMAIL PROTECTED]
title:VP, Strategic Development
x-mozilla-html:FALSE
url:http://topp.openplans.org
version:2.1
end:vcard