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

Miljenko Cvjetko mcvjetko at holisticware.net
Wed Jun 27 14:05:37 UTC 2012


Hi

On 2012.06.27 15:45, Jonathan Pryor wrote:
> 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.
I tried to explain steps I have done until I have managed to change what 
Wally was referring to...

This Wally's question confused me a bit. In AChartLibrary I didn't need 
to rename properties, just
event handlers. Initially I thought maybe Wally wanted to change get/set 
pair of methods (what
properties actually are) and that was something new for me.
Then I saw his sample and that was actually a field in java.
There is still a lot to read and to document about binding projects...
Samples would be great...

but thanks for clarifications...

mel
>
>   - Jon
>


-- 
Miljenko Cvjetko dipl.ing. ET
	Direktor/CEO
	Projektant rješenja/Solution Architect	
	Razvojni programer/Senior developer
	Voditelj projekta/Project Manager

IX južna obala 13
Kajzerica Zagreb
T: 385 1 7775555
M: 385 91 557 447 3
F: 385 1 7779556
e: mcvjetko at holisticware.net
w: http://www.holisticware.net



More information about the Monodroid mailing list