Hi list,

I guess this question goes to Justin, since he's the author of the class. I 
have a problem with gml:ReferenceType, with a ClassCastException in 
ReferenceTypeBinding:


public Object getProperty(Object object, QName name)

throws Exception {

Association association = (Association) object;

//non resolveed, return the xlink:href

if (XLINK.HREF.equals(name)) {

String id = (String) association.getUserData().get("gml:id");

return "#" + id;

}

return null;

}

The object I have is a ComplexAttribute, and the expected object is an 
Association. I can't find any examples of this being used anywhere? Why does it 
have to be an Association object, and I can't find any converter for it. Maybe 
I didn't search hard enough.. and I've never dealt with this type before. If 
anyone can shed a light on how to use this, it'd be much appreciated.



Cheers

Rini
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to