[mono-android] transforming a property in a java library project

Jonathan Pryor jonp at xamarin.com
Wed Jun 27 13:45:04 UTC 2012


On Jun 26, 2012, at 5:50 PM, Miljenko Cvjetko wrote:
> For me some help is: 
>    obj\Debug\api.xml
> but in AchartEngine there are no properties, but some internal (that appear in each class)

Properties are a .NET concept, not a Java concept (except by JavaBean convention, and they're still just methods). As such...

> 		• opened up Transforms/Metadata.xml
> 			• tried property
>   <attr
> 	path="/api/package[@name='com.wally.math']/class[@name='Operations']/property[@name='Multiple_Items']"
> 	name="managedName"
>   >ThresholdClassAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA</attr>

This won't work (i.e. it won't match anything); there are no <property/> elements within the API description, as you saw.

 - Jon



More information about the Monodroid mailing list