On Apr 29, 2012, at 6:48 PM, johnHolmes wrote:
> My journey into "binding OpenFeint" has begun, but I got stuck.
>
> I'm working on the Metadata.xml.
>
> Here one of many errors reported by the binding tool:
>
> Unknown return type
> java.util.Iterator<com.openfeint.internal.vendor.org.codehaus.jackson.JsonNode>
>
> found in method GetElements in type OpenFeint.OF.Framework.Jackson.JsonNode
Is "com.openfeint.internal.vendor.org.codehaus.jackson.JsonNode" a valid Java
type name? That looks _really_ weird.
This is probably yet another issue in our Java generics support. :-/
You should fixup the metadata to "sanitize" the return type by updating the
"return" attribute:
<attr
path="/api/package[@name='com.openfeint.internal.vendor.org.codehaus.jackson']/class[@name='JsonNode']/method[@name='getElements']"
name="return">java.util.Iterator</attr>
This will make the return type java.util.Iterator, which will become
Java.Util.IIterator in the generated code, and allow getElements() to be bound.
- Jon
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid