rmobio 1.1.4 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/rmobio/ads/ad_sense.rb +87 -105
- data/lib/rmobio/ads/m_khoj.rb +0 -1
- data/lib/rmobio/ads.rb +5 -3
- data/lib/rmobio/client_info.rb +11 -7
- data/lib/rmobio/doc/classes/Geocode.html +134 -0
- data/lib/rmobio/doc/classes/Messaging.html +223 -0
- data/lib/rmobio/doc/classes/Messaging.src/M000020.html +27 -0
- data/lib/rmobio/doc/classes/Messaging.src/M000021.html +23 -0
- data/lib/rmobio/doc/classes/Messaging.src/M000022.html +27 -0
- data/lib/rmobio/doc/classes/Messaging.src/M000023.html +27 -0
- data/lib/rmobio/doc/classes/Messaging.src/M000024.html +17 -0
- data/lib/rmobio/doc/classes/Messaging.src/M000025.html +18 -0
- data/lib/rmobio/doc/classes/Platform.html +117 -0
- data/lib/rmobio/doc/classes/Registration/RegisterIn.html +240 -0
- data/lib/rmobio/doc/classes/Registration/RegisterIn.src/M000019.html +36 -0
- data/lib/rmobio/doc/classes/Registration.html +319 -0
- data/lib/rmobio/doc/classes/Registration.src/M000008.html +17 -0
- data/lib/rmobio/doc/classes/Registration.src/M000009.html +19 -0
- data/lib/rmobio/doc/classes/Registration.src/M000010.html +19 -0
- data/lib/rmobio/doc/classes/Registration.src/M000011.html +19 -0
- data/lib/rmobio/doc/classes/Registration.src/M000012.html +19 -0
- data/lib/rmobio/doc/classes/Registration.src/M000013.html +19 -0
- data/lib/rmobio/doc/classes/Registration.src/M000014.html +19 -0
- data/lib/rmobio/doc/classes/Registration.src/M000015.html +24 -0
- data/lib/rmobio/doc/classes/Registration.src/M000016.html +19 -0
- data/lib/rmobio/doc/classes/Registration.src/M000017.html +18 -0
- data/lib/rmobio/doc/classes/Registration.src/M000018.html +19 -0
- data/lib/rmobio/doc/classes/Rmobio/Ads/AdMobs.html +150 -0
- data/lib/rmobio/doc/classes/Rmobio/Ads/AdMobs.src/M000162.html +58 -0
- data/lib/rmobio/doc/classes/Rmobio/Ads/AdMobs.src/M000163.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Ads/AdSense.html +181 -0
- data/lib/rmobio/doc/classes/Rmobio/Ads/AdSense.src/M000166.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Ads/AdSense.src/M000167.html +51 -0
- data/lib/rmobio/doc/classes/Rmobio/Ads/AdSense.src/M000168.html +73 -0
- data/lib/rmobio/doc/classes/Rmobio/Ads/MKhoj.html +146 -0
- data/lib/rmobio/doc/classes/Rmobio/Ads/MKhoj.src/M000169.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Ads/MKhoj.src/M000170.html +32 -0
- data/lib/rmobio/doc/classes/Rmobio/Ads/Smaato.html +150 -0
- data/lib/rmobio/doc/classes/Rmobio/Ads/Smaato.src/M000164.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Ads/Smaato.src/M000165.html +60 -0
- data/lib/rmobio/doc/classes/Rmobio/Ads.html +126 -0
- data/lib/rmobio/doc/classes/Rmobio/Auth.html +189 -0
- data/lib/rmobio/doc/classes/Rmobio/Auth.src/M000180.html +40 -0
- data/lib/rmobio/doc/classes/Rmobio/Auth.src/M000181.html +27 -0
- data/lib/rmobio/doc/classes/Rmobio/Auth.src/M000182.html +77 -0
- data/lib/rmobio/doc/classes/Rmobio/BaseTransformer.html +508 -0
- data/lib/rmobio/doc/classes/Rmobio/BaseTransformer.src/M000001.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/BaseTransformer.src/M000002.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/BaseTransformer.src/M000003.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/BaseTransformer.src/M000004.html +19 -0
- data/lib/rmobio/doc/classes/Rmobio/BaseTransformer.src/M000005.html +17 -0
- data/lib/rmobio/doc/classes/Rmobio/BaseTransformer.src/M000006.html +23 -0
- data/lib/rmobio/doc/classes/Rmobio/BaseTransformer.src/M000007.html +29 -0
- data/lib/rmobio/doc/classes/Rmobio/BaseTransformer.src/M000008.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/BaseTransformer.src/M000009.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/BaseTransformer.src/M000010.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/BaseTransformer.src/M000011.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/BaseTransformer.src/M000012.html +22 -0
- data/lib/rmobio/doc/classes/Rmobio/BaseTransformer.src/M000013.html +19 -0
- data/lib/rmobio/doc/classes/Rmobio/BaseTransformer.src/M000014.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/BaseTransformer.src/M000015.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/BaseTransformer.src/M000016.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/BaseTransformer.src/M000017.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/BaseTransformer.src/M000018.html +19 -0
- data/lib/rmobio/doc/classes/Rmobio/BaseTransformer.src/M000019.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/BaseTransformer.src/M000020.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/BaseTransformer.src/M000021.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Cas/BadResponseException.html +111 -0
- data/lib/rmobio/doc/classes/Rmobio/Cas/Client.html +191 -0
- data/lib/rmobio/doc/classes/Rmobio/Cas/Client.src/M000190.html +33 -0
- data/lib/rmobio/doc/classes/Rmobio/Cas/Client.src/M000191.html +33 -0
- data/lib/rmobio/doc/classes/Rmobio/Cas/Client.src/M000192.html +27 -0
- data/lib/rmobio/doc/classes/Rmobio/Cas/MobioCasFilter.html +160 -0
- data/lib/rmobio/doc/classes/Rmobio/Cas/MobioCasFilter.src/M000195.html +21 -0
- data/lib/rmobio/doc/classes/Rmobio/Cas/MobioCasFilter.src/M000196.html +43 -0
- data/lib/rmobio/doc/classes/Rmobio/Cas/MobioValidationResponse.html +170 -0
- data/lib/rmobio/doc/classes/Rmobio/Cas/MobioValidationResponse.src/M000193.html +19 -0
- data/lib/rmobio/doc/classes/Rmobio/Cas/MobioValidationResponse.src/M000194.html +31 -0
- data/lib/rmobio/doc/classes/Rmobio/Cas.html +114 -0
- data/lib/rmobio/doc/classes/Rmobio/ClientInfo.html +274 -0
- data/lib/rmobio/doc/classes/Rmobio/ClientInfo.src/M000176.html +54 -0
- data/lib/rmobio/doc/classes/Rmobio/ClientInfo.src/M000177.html +25 -0
- data/lib/rmobio/doc/classes/Rmobio/ClientInfo.src/M000178.html +31 -0
- data/lib/rmobio/doc/classes/Rmobio/ClientInfo.src/M000179.html +48 -0
- data/lib/rmobio/doc/classes/Rmobio/ConfigManager.html +118 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.html +733 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000001.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000002.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000003.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000004.html +19 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000005.html +17 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000006.html +23 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000007.html +29 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000008.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000009.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000010.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000011.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000012.html +22 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000013.html +19 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000014.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000015.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000016.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000017.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000018.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000019.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000020.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000021.html +19 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000022.html +17 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000023.html +23 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000024.html +25 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000025.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000026.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000027.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000028.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000029.html +22 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000030.html +19 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000031.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000032.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000033.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000034.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000035.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000036.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000037.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000038.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000039.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000040.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000041.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000042.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000071.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000072.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000073.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000074.html +19 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000075.html +17 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000076.html +23 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000077.html +29 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000078.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000079.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000080.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000081.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000082.html +22 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000083.html +19 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000084.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000085.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000086.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000087.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000088.html +19 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000089.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000090.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000091.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000092.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000093.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000094.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000095.html +19 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000096.html +17 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000097.html +23 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000098.html +29 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000099.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000100.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000101.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000102.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000103.html +22 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000104.html +19 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000105.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000106.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000107.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000108.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000109.html +19 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000110.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000111.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000112.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000128.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000129.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000130.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000131.html +19 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000132.html +17 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000133.html +23 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000134.html +29 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000135.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000136.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000137.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000138.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000139.html +22 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000140.html +19 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000141.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000142.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000143.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000144.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000145.html +19 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000146.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000147.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000148.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000149.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000150.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000151.html +23 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000152.html +29 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000153.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000154.html +21 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000155.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000156.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000157.html +23 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000158.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000159.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000160.html +23 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/BaseTransformer.src/M000161.html +19 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.html +120 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.src/M000001.html +23 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.src/M000002.html +29 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.src/M000003.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.src/M000004.html +21 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.src/M000005.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.src/M000006.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.src/M000007.html +23 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.src/M000008.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.src/M000009.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.src/M000010.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.src/M000011.html +19 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.src/M000038.html +23 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.src/M000039.html +29 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.src/M000040.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.src/M000041.html +21 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.src/M000042.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.src/M000043.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.src/M000044.html +23 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.src/M000045.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.src/M000046.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.src/M000047.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.src/M000048.html +19 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.src/M000049.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.src/M000050.html +23 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.src/M000051.html +29 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.src/M000052.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.src/M000053.html +21 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.src/M000054.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.src/M000055.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.src/M000056.html +23 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.src/M000057.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.src/M000058.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.src/M000059.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/HtmlTransformer.src/M000060.html +19 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/TransformerFactory.html +144 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/TransformerFactory.src/M000018.html +33 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/TransformerFactory.src/M000059.html +33 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/TransformerFactory.src/M000104.html +33 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/TransformerFactory.src/M000105.html +30 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/WapTransformer.html +120 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/WapTransformer.src/M000060.html +25 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/WapTransformer.src/M000061.html +29 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/WapTransformer.src/M000062.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/WapTransformer.src/M000063.html +21 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/WapTransformer.src/M000064.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/WapTransformer.src/M000065.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/WapTransformer.src/M000066.html +23 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/WapTransformer.src/M000067.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/WapTransformer.src/M000068.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/WapTransformer.src/M000069.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/WapTransformer.src/M000070.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/WapTransformer.src/M000106.html +25 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/WapTransformer.src/M000107.html +29 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/WapTransformer.src/M000108.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/WapTransformer.src/M000109.html +21 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/WapTransformer.src/M000110.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/WapTransformer.src/M000111.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/WapTransformer.src/M000112.html +23 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/WapTransformer.src/M000113.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/WapTransformer.src/M000114.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/WapTransformer.src/M000115.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/WapTransformer.src/M000116.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/WapTransformer.src/M000117.html +25 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/WapTransformer.src/M000118.html +29 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/WapTransformer.src/M000119.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/WapTransformer.src/M000120.html +21 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/WapTransformer.src/M000121.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/WapTransformer.src/M000122.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/WapTransformer.src/M000123.html +23 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/WapTransformer.src/M000124.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/WapTransformer.src/M000125.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/WapTransformer.src/M000126.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/WapTransformer.src/M000127.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.html +1138 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000001.html +36 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000002.html +22 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000003.html +36 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000004.html +36 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000005.html +27 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000006.html +42 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000007.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000008.html +33 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000009.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000010.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000011.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000012.html +35 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000013.html +22 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000014.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000015.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000016.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000017.html +52 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000018.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000019.html +21 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000020.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000021.html +25 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000022.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000023.html +35 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000024.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000025.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000026.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000027.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000028.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000029.html +52 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000030.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000031.html +21 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000032.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000033.html +25 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000034.html +23 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000035.html +21 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000036.html +36 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000037.html +22 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000038.html +33 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000039.html +36 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000040.html +27 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000041.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000042.html +28 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000043.html +33 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000044.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000045.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000046.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000047.html +35 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000048.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000049.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000050.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000051.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000052.html +52 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000053.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000054.html +21 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000055.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000056.html +25 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000057.html +23 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000058.html +21 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000061.html +34 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000062.html +22 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000063.html +30 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000064.html +43 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000065.html +19 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000066.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000067.html +28 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000068.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000069.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000070.html +47 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000071.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000072.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000073.html +52 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000074.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000075.html +21 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000076.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000077.html +25 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000078.html +23 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000079.html +21 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000080.html +36 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000081.html +22 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000082.html +33 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000083.html +36 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000084.html +27 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000085.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000086.html +28 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000087.html +34 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000088.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000089.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000090.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000091.html +35 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000092.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000093.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000094.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000095.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000096.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000097.html +52 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000098.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000099.html +21 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000100.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000101.html +25 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000102.html +23 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XformsTransformer.src/M000103.html +21 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XhtmlTransformer.html +319 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XhtmlTransformer.src/M000026.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XhtmlTransformer.src/M000027.html +23 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XhtmlTransformer.src/M000028.html +29 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XhtmlTransformer.src/M000029.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XhtmlTransformer.src/M000030.html +21 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XhtmlTransformer.src/M000031.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XhtmlTransformer.src/M000032.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XhtmlTransformer.src/M000033.html +23 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XhtmlTransformer.src/M000034.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XhtmlTransformer.src/M000035.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XhtmlTransformer.src/M000036.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml/XhtmlTransformer.src/M000037.html +19 -0
- data/lib/rmobio/doc/classes/Rmobio/Rxml.html +116 -0
- data/lib/rmobio/doc/classes/Rmobio/Utils.html +322 -0
- data/lib/rmobio/doc/classes/Rmobio/Utils.src/M000183.html +19 -0
- data/lib/rmobio/doc/classes/Rmobio/Utils.src/M000184.html +61 -0
- data/lib/rmobio/doc/classes/Rmobio/Utils.src/M000185.html +43 -0
- data/lib/rmobio/doc/classes/Rmobio/Utils.src/M000186.html +20 -0
- data/lib/rmobio/doc/classes/Rmobio/Utils.src/M000187.html +28 -0
- data/lib/rmobio/doc/classes/Rmobio/Utils.src/M000188.html +22 -0
- data/lib/rmobio/doc/classes/Rmobio/Utils.src/M000189.html +26 -0
- data/lib/rmobio/doc/classes/Rmobio/WebServices/Wsdl.html +156 -0
- data/lib/rmobio/doc/classes/Rmobio/WebServices/Wsdl.src/M000171.html +41 -0
- data/lib/rmobio/doc/classes/Rmobio/WebServices/WsdlDriver.html +216 -0
- data/lib/rmobio/doc/classes/Rmobio/WebServices/WsdlDriver.src/M000172.html +19 -0
- data/lib/rmobio/doc/classes/Rmobio/WebServices/WsdlDriver.src/M000173.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/WebServices/WsdlDriver.src/M000174.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/WebServices/WsdlDriver.src/M000175.html +18 -0
- data/lib/rmobio/doc/classes/Rmobio/WebServices.html +116 -0
- data/lib/rmobio/doc/classes/Rmobio.html +115 -0
- data/lib/rmobio/doc/classes/Rss.html +231 -0
- data/lib/rmobio/doc/classes/Rss.src/M000002.html +18 -0
- data/lib/rmobio/doc/classes/Rss.src/M000003.html +18 -0
- data/lib/rmobio/doc/classes/Rss.src/M000004.html +18 -0
- data/lib/rmobio/doc/classes/Rss.src/M000005.html +18 -0
- data/lib/rmobio/doc/classes/Rss.src/M000006.html +18 -0
- data/lib/rmobio/doc/classes/Rss.src/M000007.html +18 -0
- data/lib/rmobio/doc/created.rid +1 -0
- data/lib/rmobio/doc/files/ads/ad_mobs_rb.html +133 -0
- data/lib/rmobio/doc/files/ads/ad_sense_rb.html +132 -0
- data/lib/rmobio/doc/files/ads/m_khoj_rb.html +132 -0
- data/lib/rmobio/doc/files/ads/smaato_rb.html +131 -0
- data/lib/rmobio/doc/files/ads_rb.html +124 -0
- data/lib/rmobio/doc/files/auth_rb.html +138 -0
- data/lib/rmobio/doc/files/cas_rb.html +141 -0
- data/lib/rmobio/doc/files/client_info_rb.html +140 -0
- data/lib/rmobio/doc/files/config_manager_rb.html +131 -0
- data/lib/rmobio/doc/files/raketasks_rb.html +182 -0
- data/lib/rmobio/doc/files/raketasks_rb.src/M000001.html +34 -0
- data/lib/rmobio/doc/files/rxml/base_transformer_rb.html +139 -0
- data/lib/rmobio/doc/files/rxml/html_transformer_rb.html +133 -0
- data/lib/rmobio/doc/files/rxml/transformer_factory_rb.html +134 -0
- data/lib/rmobio/doc/files/rxml/wap_transformer_rb.html +133 -0
- data/lib/rmobio/doc/files/rxml/working/base_transformer_rb.html +138 -0
- data/lib/rmobio/doc/files/rxml/working/html_transformer_rb.html +131 -0
- data/lib/rmobio/doc/files/rxml/working/transformer_factory_rb.html +135 -0
- data/lib/rmobio/doc/files/rxml/working/wap_transformer_rb.html +132 -0
- data/lib/rmobio/doc/files/rxml/working/xforms_transformer_rb.html +132 -0
- data/lib/rmobio/doc/files/rxml/working/xhtml_transformer_rb.html +131 -0
- data/lib/rmobio/doc/files/rxml/working2/base_transformer_rb.html +139 -0
- data/lib/rmobio/doc/files/rxml/working2/html_transformer_rb.html +133 -0
- data/lib/rmobio/doc/files/rxml/working2/transformer_factory_rb.html +134 -0
- data/lib/rmobio/doc/files/rxml/working2/wap_transformer_rb.html +133 -0
- data/lib/rmobio/doc/files/rxml/working2/xforms_transformer_rb.html +133 -0
- data/lib/rmobio/doc/files/rxml/xforms_transformer_rb.html +133 -0
- data/lib/rmobio/doc/files/utils_rb.html +139 -0
- data/lib/rmobio/doc/files/webservices/soap/drivers_rb.html +131 -0
- data/lib/rmobio/doc/files/webservices/soap/geocode_rb.html +124 -0
- data/lib/rmobio/doc/files/webservices/soap/messaging_rb.html +124 -0
- data/lib/rmobio/doc/files/webservices/soap/platform_rb.html +131 -0
- data/lib/rmobio/doc/files/webservices/soap/registration_rb.html +124 -0
- data/lib/rmobio/doc/files/webservices/soap/rss_rb.html +131 -0
- data/lib/rmobio/doc/files/webservices_rb.html +124 -0
- data/lib/rmobio/doc/fr_class_index.html +30 -0
- data/lib/rmobio/doc/fr_file_index.html +28 -0
- data/lib/rmobio/doc/fr_method_index.html +64 -0
- data/lib/rmobio/doc/index.html +24 -0
- data/lib/rmobio/doc/rdoc-style.css +208 -0
- data/lib/rmobio/raketasks.rb +1 -1
- data/lib/rmobio/rxml/base_transformer.rb +278 -0
- data/lib/rmobio/rxml/html_transformer.rb +30 -0
- data/lib/rmobio/rxml/transformer_factory.rb +49 -0
- data/lib/rmobio/rxml/wap_transformer.rb +32 -0
- data/lib/rmobio/rxml/working/base_transformer.rb +112 -0
- data/lib/rmobio/rxml/working/html_transformer.rb +97 -0
- data/lib/rmobio/rxml/working/transformer_factory.rb +45 -0
- data/lib/rmobio/rxml/working/wap_transformer.rb +112 -0
- data/lib/rmobio/rxml/working/xforms_transformer.rb +271 -0
- data/lib/rmobio/rxml/working/xhtml_transformer.rb +99 -0
- data/lib/rmobio/rxml/working2/base_transformer.rb +234 -0
- data/lib/rmobio/rxml/working2/html_transformer.rb +98 -0
- data/lib/rmobio/rxml/working2/transformer_factory.rb +50 -0
- data/lib/rmobio/rxml/working2/wap_transformer.rb +114 -0
- data/lib/rmobio/rxml/working2/xforms_transformer.rb +330 -0
- data/lib/rmobio/rxml/xforms_transformer.rb +650 -0
- metadata +521 -8
@@ -0,0 +1,650 @@
|
|
1
|
+
#
|
2
|
+
# Copyright (C) 2007 Mobio Networks, Inc.
|
3
|
+
#
|
4
|
+
# This program is free software: you can redistribute it and/or modify it under
|
5
|
+
# the terms of the GNU General Public License as published by the Free Software
|
6
|
+
# Foundation, either version 3 of the License, or (at your option) any later
|
7
|
+
# version.
|
8
|
+
#
|
9
|
+
# This program is distributed in the hope that it will be useful, but WITHOUT
|
10
|
+
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
11
|
+
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
12
|
+
# details.
|
13
|
+
#
|
14
|
+
# You should have received a copy of the GNU General Public License along with
|
15
|
+
# this program. If not, see <http://www.gnu.org/licenses/>.
|
16
|
+
#
|
17
|
+
|
18
|
+
|
19
|
+
require 'builder/xmlmarkup'
|
20
|
+
require 'rmobio/rxml/base_transformer'
|
21
|
+
require 'singleton'
|
22
|
+
module Rmobio
|
23
|
+
module Rxml
|
24
|
+
=begin rdoc
|
25
|
+
Provide a transformer to translate rxml document to xforms markup for Mobio client.
|
26
|
+
It subclasses BaseTransformer class and overwirtes the tag methods to produce the
|
27
|
+
proper xforms markup.
|
28
|
+
To get xforms transformer, pass the client type 'xf' to TransformerFactory get_transformer method:
|
29
|
+
require 'rmobio/rxml/transformer_factory'
|
30
|
+
@xml = TransformerFactory.get_transformer('xf')
|
31
|
+
|
32
|
+
or call the instance method to get the instance:
|
33
|
+
require 'rmobio/rxml/xforms_transformer'
|
34
|
+
@xml = XformsTransformer.instance
|
35
|
+
|
36
|
+
Here is an example rxml view that uses the transformer methods to output xforms document:
|
37
|
+
img = {:alt=>"Rails", :xstyle=>'height="5ex" width="100%"'}
|
38
|
+
@xml.doctimgype(xml) do |x|
|
39
|
+
@xml.body(x, 'mobio') do|body|
|
40
|
+
@xml.image(body, "img1", 'http://localhost:3000/images/rails.png',img)
|
41
|
+
@xml.softBr(body)
|
42
|
+
@xml.text(body, 'My test app')
|
43
|
+
end
|
44
|
+
end
|
45
|
+
The above code generates the following xforms for Mobio runner:
|
46
|
+
<html id="root" xmlns="http://www.w3.org/1999/xhtml"
|
47
|
+
xmlns:xf="http://www.w3.org/2002/xforms"
|
48
|
+
xmlns:m="http://www.mobio.com/ext"
|
49
|
+
xmlns:ext="http://www.mobio.com/ext"
|
50
|
+
xmlns:ev="http://www.w3.org/2001/xml-events">
|
51
|
+
<head>
|
52
|
+
<model></model></head>
|
53
|
+
|
54
|
+
<body style="body">
|
55
|
+
<m:image height="5ex" width="100%">http://localhost:3000/images/rails.png</m:image>
|
56
|
+
<m:hstack height="1ex"/>
|
57
|
+
<m:output height="1ex">My test app</m:output></body></html>
|
58
|
+
A rails icon and some text will be displayed on Mobio runner when you load the rxml page.
|
59
|
+
=end
|
60
|
+
|
61
|
+
class XformsTransformer < BaseTransformer
|
62
|
+
include Singleton
|
63
|
+
|
64
|
+
#Generate standdard xforms document header. The model output goes to
|
65
|
+
#instance variable @model_buffer and view output goes to instance variable
|
66
|
+
#@view_buffer. Any tag methods in the call block will be directed to either
|
67
|
+
#view or model buffer (depending on the tag method) and combined to produce
|
68
|
+
#the final document.
|
69
|
+
def doctype(xml)
|
70
|
+
xml << '<html id="root" xmlns="http://www.w3.org/1999/xhtml"
|
71
|
+
xmlns:xf="http://www.w3.org/2002/xforms"
|
72
|
+
xmlns:m="http://www.mobio.com/ext"
|
73
|
+
xmlns:ext="http://www.mobio.com/ext"
|
74
|
+
xmlns:ev="http://www.w3.org/2001/xml-events">'
|
75
|
+
|
76
|
+
@model_buffer = '<head>'
|
77
|
+
@model_buffer << "\n<model>"
|
78
|
+
|
79
|
+
yield xml
|
80
|
+
|
81
|
+
@model_buffer << "</model></head>\n"
|
82
|
+
xml << @model_buffer << @view_buffer
|
83
|
+
xml << "</html>"
|
84
|
+
@view_buffer = ""
|
85
|
+
@model_buffer = ""
|
86
|
+
end
|
87
|
+
|
88
|
+
#Generate xthml head and body tag. The title argument is not used for xforms
|
89
|
+
#client. The style is optional. If style is specified,
|
90
|
+
#it will be added to the xforms style tag with src attribute:
|
91
|
+
#
|
92
|
+
#In rxml:
|
93
|
+
# @xml.body(x, 'mobio', 'default_style.xml')
|
94
|
+
#
|
95
|
+
#generates the following xforms markup:
|
96
|
+
# <style xmlns="http://www.mobio.com/ext" src="default_style.xml"/>
|
97
|
+
#
|
98
|
+
#Please note, by default when client sees the src attribute, it is expecting
|
99
|
+
#the response content to be sent as 'application/xml' not 'application/mform' (for
|
100
|
+
#complete xforms document). For the styles to work, you will need to handle
|
101
|
+
#the url so it sends back the xml content with http content-type header set
|
102
|
+
#to 'application/xml'.
|
103
|
+
#
|
104
|
+
#An easier way to include external styles is to output the styles using
|
105
|
+
#builder xml (not transformer @xml) variable:
|
106
|
+
#
|
107
|
+
#==== Examples
|
108
|
+
# @xml.body(x, 'mobio') do |body|
|
109
|
+
# xml << render(:partial=> 'default_style.xml')
|
110
|
+
#The content in the style xml (note, it will be _default_style.xml) will
|
111
|
+
#then be embeded in the final document.
|
112
|
+
def body(doc, title="", style=nil)
|
113
|
+
# xforms style is external style
|
114
|
+
@view_buffer << '<style xmlns="http://www.mobio.com/ext" src="' << style << '"/>' if style
|
115
|
+
@view_buffer << "\n<body style=\"body\">"
|
116
|
+
yield doc
|
117
|
+
@view_buffer << "</body>"
|
118
|
+
end
|
119
|
+
#Produce a text string. The text displayed can be the _txt_ argument if there's
|
120
|
+
#no :id and :xpath options or it can be the data from model instance specified
|
121
|
+
#in :id and :xpath.
|
122
|
+
#
|
123
|
+
#==== Options
|
124
|
+
#
|
125
|
+
#* <tt>:xstyle</tt> -- specifies xforms style attributes like height, width, style,\
|
126
|
+
#etc. as string.
|
127
|
+
#* <tt>:id</tt> -- specifies the instance id of string. \
|
128
|
+
#If :id is specified but nso :xpath, the method creates an instance data in \
|
129
|
+
#@model_buffer with a tag name "text" that contains the _txt_ string.\
|
130
|
+
#If :id and :xpath are both specified, the method doesn't create any model instance,\
|
131
|
+
#instead, it assumes there's an instance with the id and xpath already defined\
|
132
|
+
#and the text widget displays the data in that xpath.
|
133
|
+
#* <tt>:xpath</tt> -- specifies the xpath of the text string in the instance model.
|
134
|
+
#
|
135
|
+
#==== Examples
|
136
|
+
#* Text widget displays the string of _txt_ argument without creating an instance:
|
137
|
+
# @xml.text(body, 'My test', :xstyle=>'style="white"')
|
138
|
+
#
|
139
|
+
#generates the following xforms:
|
140
|
+
# <m:output style="white">My test</m:output>
|
141
|
+
#The outupt is a one line text.
|
142
|
+
#* Text widget creates a model instance and displays the string from the new instance:
|
143
|
+
# @xml.text(body, 'My test',
|
144
|
+
# :id=>'txt1',
|
145
|
+
# :xstyle=>'style="white"')
|
146
|
+
#generates the following xforms:
|
147
|
+
#In model:
|
148
|
+
# <xf:instance id="txt1"><data xmlns=""><text>My test</text></data></xf:instance>
|
149
|
+
#In view:
|
150
|
+
# <m:output style="white" ref="instance('txt1')/text"/>
|
151
|
+
#* Text widget displays string from a pre defined instance:
|
152
|
+
# @xml.text(body, 'My test', :id=>'txt1', :xpath=>'images/id')
|
153
|
+
#generates the following xforms:
|
154
|
+
# <m:output height="1ex" ref="instance('txt1')/images/id"/>
|
155
|
+
def text(doc, txt="", options={})
|
156
|
+
# If there's id but no xpath, we will create a default instance data for
|
157
|
+
# the textoutput.
|
158
|
+
if options[:id] and options[:xpath].nil?
|
159
|
+
@model_buffer << "\n" << '<xf:instance id="' << options[:id] << '"><data xmlns=""><text>' << txt << "</text></data></xf:instance>\n"
|
160
|
+
end
|
161
|
+
|
162
|
+
if options[:xstyle]
|
163
|
+
@view_buffer << "\n<m:output #{options[:xstyle]}"
|
164
|
+
else
|
165
|
+
# Default one line text
|
166
|
+
@view_buffer << "\n<m:output height=\"1ex\""
|
167
|
+
end
|
168
|
+
if options[:id]
|
169
|
+
xpath = "text"
|
170
|
+
xpath = options[:xpath] if options[:xpath]
|
171
|
+
@view_buffer << " ref=\"instance('" << options[:id] << "')/#{xpath}\"/>"
|
172
|
+
else
|
173
|
+
@view_buffer << ">" << txt << "</m:output>"
|
174
|
+
end
|
175
|
+
end
|
176
|
+
|
177
|
+
#Produce a textoutput widget (multi line text box).
|
178
|
+
#The text area is read only for xforms client.
|
179
|
+
#
|
180
|
+
#==== Options
|
181
|
+
#
|
182
|
+
#* <tt>:xstyle</tt> -- specifies xforms style attributes like height, width, style, \
|
183
|
+
#etc. as string.
|
184
|
+
#* <tt>:id</tt> -- specifies the instance id of string.
|
185
|
+
#If :id is specified but no :xpath, the method creates an instance data in
|
186
|
+
#@model_buffer with a tag name "text" that contains the _txt_ string.
|
187
|
+
#If :id and :xpath are both specified, the method doesn't create any model instance,
|
188
|
+
#instead, it assumes there's an instance with the id and xpath already defined
|
189
|
+
#and the textoutput widget displays the data in that xpath.
|
190
|
+
#* <tt>:xpath</tt> -- specifies the xpath of the text string in the instance model.
|
191
|
+
#
|
192
|
+
#==== Examples
|
193
|
+
# @xml.textarea(body, 'My test', {:xstyle=>'style="white" height="2ex"'})
|
194
|
+
#
|
195
|
+
#generates the following xforms:
|
196
|
+
# <m:textoutput style="white" height="5ex">My test</m:textoutput>
|
197
|
+
#The output is a 5 character high text box.
|
198
|
+
#
|
199
|
+
#==== Examples
|
200
|
+
#* Text widget displays the string of _txt_ argument without creating an instance:
|
201
|
+
# @xml.textarea(body, 'My test box', :xstyle=>'height="3ex"')
|
202
|
+
#
|
203
|
+
#generates a 3 line text box:
|
204
|
+
# <m:textoutput height="3ex">My test box</m:textoutput>
|
205
|
+
#* Text widget creates a model instance and displays the string from the new instance:
|
206
|
+
# @xml.textarea(body, 'My test box',
|
207
|
+
# :id=>'txt1', :xstyle=>'height="3ex"')
|
208
|
+
#generates the following xforms:
|
209
|
+
#In model:
|
210
|
+
# <xf:instance id="txt1"><data xmlns=""><text>My test</text></data></xf:instance>
|
211
|
+
#In view:
|
212
|
+
# <m:textoutput height="3ex" ref="instance('txt1')/txt"/>
|
213
|
+
#* Text widget displays string from a pre defined instance:
|
214
|
+
# @xml.textarea(body, 'My test', :id=>'txt1', :xpath=>'images/id',
|
215
|
+
# :xstyle=>'height="5ex" width="50%"')
|
216
|
+
#generates the following xforms:
|
217
|
+
# <m:textoutput height="5ex" width="50%" ref="instance('txt1')/images/id"/>
|
218
|
+
#
|
219
|
+
def textarea(doc, txt="", options={})
|
220
|
+
# If there's id but no xpath, we will create a default instance data for
|
221
|
+
# the textoutput.
|
222
|
+
if options[:id] and options[:xpath].nil?
|
223
|
+
@model_buffer << "\n" << '<xf:instance id="' << options[:id] << '"><data xmlns=""><text>' << txt << "</txt></data></xf:instance>\n"
|
224
|
+
end
|
225
|
+
|
226
|
+
@view_buffer << "\n<m:textoutput #{options[:xstyle]}"
|
227
|
+
|
228
|
+
if options[:id]
|
229
|
+
@view_buffer << " ref=\"instance('" << options[:id] << "')/"
|
230
|
+
if options[:xpath]
|
231
|
+
@view_buffer << options[:xpath]
|
232
|
+
else
|
233
|
+
@view_buffer << "text"
|
234
|
+
end
|
235
|
+
@view_buffer << "\"/>"
|
236
|
+
else
|
237
|
+
@view_buffer << ">" << txt << "</m:textoutput>"
|
238
|
+
end
|
239
|
+
end # textarea
|
240
|
+
#
|
241
|
+
#Create user input field.
|
242
|
+
#1. id: The instance id that will be associated with this input field. An instance data \
|
243
|
+
#will be created automatically in the model if options[:xpath] is not specified. \
|
244
|
+
#The instance is created with only one tag: 'txt'.
|
245
|
+
#2. value: initial value that will be displayed when ui is loaded
|
246
|
+
#3. type: not used for xforms client
|
247
|
+
#==== Options
|
248
|
+
#* <tt>:xstyle</tt> -- specifies xforms style attributes as a string
|
249
|
+
#* <tt>:xpath</tt> -- specifies the xpath of the input data in the model
|
250
|
+
#==== Examples
|
251
|
+
#* Create a simple input box:
|
252
|
+
# @xml.input(body, "name", "john", "text")
|
253
|
+
#generates the following xforms:
|
254
|
+
#
|
255
|
+
#In Model section of the form:
|
256
|
+
# <xf:instance id="name">
|
257
|
+
# <data xmlns=""><txt>john</txt></data>
|
258
|
+
# </xf:instance>
|
259
|
+
#In View section of the form:
|
260
|
+
# <m:input height="1ex" ref="instance('name')/txt"/>
|
261
|
+
#Notice the instance data is created automatically because the rxml tag
|
262
|
+
#didn't specify the :xpath argument. Mobio runner will display an input box with default
|
263
|
+
#value "john" in the box when the page is launched. User can edit the
|
264
|
+
#string in the box and the value will be assinged to the model instance('name')/txt.
|
265
|
+
#
|
266
|
+
#* The next example shows how to create an input tag with predefined instance data:
|
267
|
+
#Note, create the options hash before the beginning of the document)
|
268
|
+
# options = {
|
269
|
+
# :style=> 'style="white"',
|
270
|
+
# :xstyle=>'maxlength="10" style="white"',
|
271
|
+
# :xpath=>"images/id"}
|
272
|
+
# @xml.doctype(xml) do |x|
|
273
|
+
# @xml.body(x, 'mobio', 'default_style.xml') do|body|
|
274
|
+
# @xml.input(body, "img", "", "text", options)
|
275
|
+
# end
|
276
|
+
# end
|
277
|
+
#
|
278
|
+
#The above rxml generates only the view part in the xforms:
|
279
|
+
# <m:input maxlength="10" style="white" height="1ex" ref="instance('img')/images/id/>
|
280
|
+
#It assumes you already defined an instance 'img' in the model with tag /images/id.
|
281
|
+
#If the instance data is not defined, you will see a blank input box but you can't
|
282
|
+
#move focus to the box and you can't enter any text. If the instance model
|
283
|
+
#is defined, the input box will come up blank and user can only enter up to
|
284
|
+
#10 characters (defined in maxlength attribute) in the field.
|
285
|
+
def input(doc, id, value, type, options={})
|
286
|
+
# Create model instance only when there's no xpath
|
287
|
+
if options[:xpath].nil?
|
288
|
+
@model_buffer << "\n" << '<xf:instance id="' << id << '"><data xmlns=""><txt>' << value << "</txt></data></xf:instance>\n"
|
289
|
+
end
|
290
|
+
@view_buffer << "\n<m:input #{options[:xstyle]} height=\"1ex\" ref=" << "\"instance('" << id << "')/"
|
291
|
+
if options[:xpath].nil?
|
292
|
+
@view_buffer << "txt\"/>"
|
293
|
+
else
|
294
|
+
@view_buffer << options[:xpath] << "\"/>"
|
295
|
+
end
|
296
|
+
end
|
297
|
+
|
298
|
+
#Implement xforms <xf:send> in view buffer and <xf:submission> tag in model buffer
|
299
|
+
#If argument 'create_instance' is set to true, it will create an <xf:submission> instance
|
300
|
+
#based on the attributes (see options). Otherwise, it assumes an instance is
|
301
|
+
#already defined in the model. The submit_tag can not act along, it has to be
|
302
|
+
#associated with a tag with UI (like link tag, button or menu item where
|
303
|
+
#user can click on).
|
304
|
+
#
|
305
|
+
#1. id: the name of the model instance that contains the submission defintion
|
306
|
+
#2. create_instance: true or false, create submission model instance or not.
|
307
|
+
#If set to true, a new model instance will be created.
|
308
|
+
#==== Options
|
309
|
+
#To create submission model, the following attributes should be specified in options:
|
310
|
+
#* <tt>:action</tt> -- specifies the url for the action
|
311
|
+
#* <tt>:req_id</tt> -- specifies the instance id to hold the submission data
|
312
|
+
#* <tt>:replace_id</tt> -- if specified, the submission replace attribute is\
|
313
|
+
#set to "instance"; otherwise, the submission replace attribute is set to "all". \
|
314
|
+
#In case of "all", the client is expecting a complete xforms document in \
|
315
|
+
#response. If it's "instance", only the request_id instance data is updated \
|
316
|
+
#with the response data. Note the response header should be set to \
|
317
|
+
#"application/xml" instead of "application/xforms" for "instance" replace.\
|
318
|
+
#See Mobio client user manual for defails.\
|
319
|
+
#* <tt>:event</tt> -- specifies event type to trigger the <xf:send> action. \
|
320
|
+
#If not defined, "DOMActivate" will be used.
|
321
|
+
#==== Examples
|
322
|
+
#* First example demonstrates a submit tag (wrapped in link widget) that \
|
323
|
+
#creates a submit action and submission instance. When user clicks on the link, \
|
324
|
+
#the response will replace only the instance data in "results". The UI \
|
325
|
+
#doesn't change.
|
326
|
+
#
|
327
|
+
#Create two instances for the submission to hold the request and replace data:
|
328
|
+
# (Request data)
|
329
|
+
# @xml.instance_tag(body, "name") do |y|
|
330
|
+
# @xml.fname
|
331
|
+
# end
|
332
|
+
#
|
333
|
+
# (Instance to hold the response data)
|
334
|
+
# @xml.instance_tag(body, "results")
|
335
|
+
#
|
336
|
+
#Use link to provide a UI for user to activate the submission, specify true for
|
337
|
+
#create_instance argument so a new submission instance data can be created:
|
338
|
+
#
|
339
|
+
# @xml.link(body, "http://m.twitter.com", "m.twitter.com") do |link|
|
340
|
+
# @xml.submit_tag(link, "login", true,
|
341
|
+
# :action=>'login', :req_id=>'name', :replace_id=>'results')
|
342
|
+
# end
|
343
|
+
#generates the following xforms:
|
344
|
+
#
|
345
|
+
#In the model:
|
346
|
+
# <xf:submission action="login" method="post" id="login" includenamespaceprefixes=""
|
347
|
+
# ref="instance('name')" replace="instance" instance="results"/>
|
348
|
+
#
|
349
|
+
#In the view:
|
350
|
+
# <xf:send submission="login" ev:event="DOMActivate"></xf:send>
|
351
|
+
#
|
352
|
+
#* In this example, we will create a submit tag that creates just the submit button\
|
353
|
+
# and use an existing submission instance to invoke the action. The response \
|
354
|
+
# is a complete xforms document which replaces the whole UI:
|
355
|
+
#
|
356
|
+
# @xml.link(body, "http://m.twitter.com", "m.twitter.com") do |link|
|
357
|
+
# @xml.submit_tag(link, "login", false,
|
358
|
+
# :action=>'login', :req_id=>'name', :replace_id=>'results')
|
359
|
+
# end
|
360
|
+
#
|
361
|
+
#generates only a view:
|
362
|
+
# <xf:send submission="login" ev:event="DOMActivate"></xf:send>
|
363
|
+
#The submission instance with id "login" must exist for the button to work.
|
364
|
+
#
|
365
|
+
def submit_tag(doc, id, create_instance, options={}, &block)
|
366
|
+
# The model
|
367
|
+
if create_instance
|
368
|
+
@model_buffer << "\n<xf:submission action=\"#{options[:action]}\" method=\"post\" #{options[:xstyle]}" <<
|
369
|
+
" id=\"#{id}\" includenamespaceprefixes=\"\" ref=\"instance('#{options[:req_id]}')\""
|
370
|
+
|
371
|
+
if options[:replace_id]
|
372
|
+
@model_buffer << " replace=\"instance\" instance=\"#{options[:replace_id]}\""
|
373
|
+
else
|
374
|
+
@model_buffer << ' replace="all"'
|
375
|
+
end
|
376
|
+
@model_buffer << '/>'
|
377
|
+
end
|
378
|
+
|
379
|
+
# The view
|
380
|
+
@view_buffer << "\n<xf:send submission=\"#{id}\" ev:event=\""
|
381
|
+
if options[:event].nil?
|
382
|
+
@view_buffer << "DOMActivate"
|
383
|
+
else
|
384
|
+
@view_buffer << options[:event]
|
385
|
+
end
|
386
|
+
@view_buffer << "\">"
|
387
|
+
if block
|
388
|
+
yield doc
|
389
|
+
end
|
390
|
+
@view_buffer << "</xf:send>"
|
391
|
+
end
|
392
|
+
|
393
|
+
#Not supported for xforms client. Just pass the block. Xforsm client should
|
394
|
+
#use instance_tag, submit_tag for form submission.
|
395
|
+
def form(doc, id, action, method)
|
396
|
+
yield doc
|
397
|
+
end
|
398
|
+
|
399
|
+
#There's no link widget in Mobio client so use a button widget to provide
|
400
|
+
#the same feature for html link. If href is provided and there's no call block,
|
401
|
+
#<xf:load> will be used to invoke the 'href' url. Otherwise, the call block
|
402
|
+
#will be executed and template can provide specifal action using the action tag.
|
403
|
+
#or view_tag.
|
404
|
+
#Default event type is ev:event="DOMActivate" for the button.
|
405
|
+
#1. href: the http get url when user press the button
|
406
|
+
#2. txt: label displayed on the button
|
407
|
+
#==== Options
|
408
|
+
##* <tt>:xstyle</tt> -- specifies xforms style attributes like height, width, style, \
|
409
|
+
#etc. as string.
|
410
|
+
#
|
411
|
+
#==== Examples
|
412
|
+
#* Simple link:
|
413
|
+
# @xml.link(body, "http://m.twitter.com", "Twitter")
|
414
|
+
#generate the following xforms:
|
415
|
+
# <m:button height="1ex"><m:label>Twitter</m:label>
|
416
|
+
# <xf:load ev:event="DOMActivate" resource="http://m.twitter.com"/>
|
417
|
+
# </m:button>
|
418
|
+
#* Customize action:
|
419
|
+
# @xml.link(body, "http://m.twitter.com", "Twitter") do |link|
|
420
|
+
# @xml.view_tag(link, '<xf:toggle case="page2" ev:event="DOMActivate"/>')
|
421
|
+
# end
|
422
|
+
#generates the following xforms:
|
423
|
+
# <m:button height="1ex"><m:label>Twitter</m:label>
|
424
|
+
# <xf:toggle case="page2" ev:event="DOMActivate"/>
|
425
|
+
# </m:button>
|
426
|
+
#
|
427
|
+
def link(doc, href, txt="", options={}, &block)
|
428
|
+
@view_buffer << "\n<m:button"
|
429
|
+
if options[:xstyle]
|
430
|
+
@view_buffer << ' ' << options[:style]
|
431
|
+
else
|
432
|
+
@view_buffer << " height=\"1ex\""
|
433
|
+
end
|
434
|
+
@view_buffer << '><m:label>' << txt << '</m:label>'
|
435
|
+
|
436
|
+
# If no action provided, use <xf:load> to load the url
|
437
|
+
if block
|
438
|
+
yield doc
|
439
|
+
else
|
440
|
+
@view_buffer << '<xf:load ev:event="DOMActivate" resource="' << href << '"/>'
|
441
|
+
end
|
442
|
+
@view_buffer << '</m:button>'
|
443
|
+
|
444
|
+
end
|
445
|
+
#Output arbitray stuff in the model buffer. A workaround for any special xforms
|
446
|
+
#tags that are not supported yet in the transformer.
|
447
|
+
def model_tag(doc, txt)
|
448
|
+
@model_buffer << txt
|
449
|
+
end
|
450
|
+
#Output arbitray stuff in the view buffer. A workaround for any special xforms
|
451
|
+
#tags that are not supported yet in the transformer.
|
452
|
+
def view_tag(doc, txt)
|
453
|
+
@view_buffer << txt
|
454
|
+
end
|
455
|
+
#Line break
|
456
|
+
def softBr(doc)
|
457
|
+
@view_buffer << '<m:hstack height="1ex"/>'
|
458
|
+
end
|
459
|
+
|
460
|
+
#Create image widget. There are two types of image control: icon and image.
|
461
|
+
#See Mobio client user manual for details.
|
462
|
+
#1. id: name of the widget
|
463
|
+
#2. src: the url of the image
|
464
|
+
#3. options: all other attributes
|
465
|
+
#==== Options
|
466
|
+
#* <tt>:xstyle</tt> -- specifies xforms style attributes like height, width, style, \
|
467
|
+
#etc. as string.
|
468
|
+
#* <tt>:widget</tt> -- specifies the widget to use, "icon" or "image". Default\
|
469
|
+
#is <image>.
|
470
|
+
#
|
471
|
+
#==== Examples (
|
472
|
+
#* Create a simple image control\
|
473
|
+
#Note, define the style options outside the doctype block):
|
474
|
+
# img = {:alt=>"Rails", :xstyle=>'height="5ex" width="100%"'}
|
475
|
+
# @xml.doctype(xml) do |x|
|
476
|
+
# @xml.body(x, 'mobio', 'default_style.xml') do|body|
|
477
|
+
# @xml.image(body, "img1", 'http://localhost:3000/images/rails.png',img)
|
478
|
+
# end
|
479
|
+
# end
|
480
|
+
#generates the following xforms:
|
481
|
+
# <m:image height="5ex" width="100%">http://localhost:3000/images/rails.png</m:image>
|
482
|
+
#The image will be scaled to 5 character high on the screen when the page is loaded.
|
483
|
+
#* This example creates an icon widget which takes the image url from an \
|
484
|
+
#instance variable:
|
485
|
+
# @xml.image(body, "img1", 'http://localhost:3000/images/rails.png',
|
486
|
+
# {:xstyle=>'height="3ex" width="20em"',
|
487
|
+
# :xpath=>"images/url",
|
488
|
+
# :widget=>"icon"})
|
489
|
+
#generates the following xforms:
|
490
|
+
# <m:icon height="3ex" width="20em" ref="instance('img1')/images/url"></m:icon>
|
491
|
+
#The icon takes the url from an instance named "img1" with xpath /images/url.
|
492
|
+
#The instance data has to be defined for the image to be displayed.
|
493
|
+
def image(doc, id, src, options={})
|
494
|
+
widget = "image"
|
495
|
+
widget = options[:widget] if options[:widget]
|
496
|
+
@view_buffer << "\n<m:#{widget} #{options[:xstyle]}"
|
497
|
+
|
498
|
+
# if id, get the image from predefined instance data, otherwise, just
|
499
|
+
# use the src path
|
500
|
+
if id and options[:xpath]
|
501
|
+
@view_buffer << " ref=\"instance('" << id << "')/"
|
502
|
+
if options[:xpath]
|
503
|
+
@view_buffer << options[:xpath] << "\">"
|
504
|
+
else
|
505
|
+
@view_buffer << src << "\">"
|
506
|
+
end
|
507
|
+
else
|
508
|
+
@view_buffer << '>' << src
|
509
|
+
end
|
510
|
+
|
511
|
+
@view_buffer << "</m:#{widget}>"
|
512
|
+
end
|
513
|
+
|
514
|
+
#Create an instance in the model
|
515
|
+
#1. id: the name of the instance that will be created
|
516
|
+
#==== Examples
|
517
|
+
#* Create a blank instance:
|
518
|
+
# @xml.instance_tag(body, "foo")
|
519
|
+
#generates the following xforms in the model:
|
520
|
+
# <xf:instance id="foo"><data xmlns=""></data></xf:instance>
|
521
|
+
#
|
522
|
+
#* Combine instance_tag with any xml tag to create a useful instance model:
|
523
|
+
# @xml.instance_tag(body, "name") do |y|
|
524
|
+
# @xml.fname
|
525
|
+
# @xml.lname("Doe")
|
526
|
+
# @xml.info("Basic", :zip=>"95014", :phone=>"415-1111111")
|
527
|
+
# end
|
528
|
+
#generates the instance data in the model:
|
529
|
+
# <xf:instance id="name">
|
530
|
+
# <data xmlns="">
|
531
|
+
# <fname/>
|
532
|
+
# <lname>Doe</lname>
|
533
|
+
# <info phone="415-1111111" zip="95014">Basic</info>
|
534
|
+
# </data>
|
535
|
+
# </xf:instance>
|
536
|
+
def instance_tag(doc, id, &block)
|
537
|
+
@model_buffer << "\n<xf:instance id=\"#{id}\"><data xmlns=\"\">"
|
538
|
+
if block
|
539
|
+
yield doc
|
540
|
+
end
|
541
|
+
@model_buffer << '</data></xf:instance>'
|
542
|
+
end
|
543
|
+
|
544
|
+
#Create grid control, similar to table in html
|
545
|
+
#1. style: html styles
|
546
|
+
#2. xstyle: xforms styles
|
547
|
+
def table(doc, style="", xstyle="")
|
548
|
+
@view_buffer << "\n<m:grid #{xstyle}>"
|
549
|
+
yield doc
|
550
|
+
@view_buffer << '</m:grid>'
|
551
|
+
end
|
552
|
+
def table_row(doc, style="", xstyle="")
|
553
|
+
@view_buffer << "\n<m:rowlist col=\"auto\">"
|
554
|
+
yield doc
|
555
|
+
@view_buffer << '</m:rowlist>'
|
556
|
+
end
|
557
|
+
def table_cell(doc, style="", xstyle="")
|
558
|
+
@view_buffer << "<m:item #{xstyle}>"
|
559
|
+
yield doc
|
560
|
+
@view_buffer << '</m:item>'
|
561
|
+
end
|
562
|
+
|
563
|
+
#Override builder method_missing method to send output to model buffer so we
|
564
|
+
#can create arbitrary xml tags in the model. Typically combine with instance_tag
|
565
|
+
#to create model instance that can be used in any of the action tag (link, submit_tag, etc.)
|
566
|
+
#
|
567
|
+
#====Examples
|
568
|
+
# @xml.instance_tag(body, "user") do |y|
|
569
|
+
# @xml.fname
|
570
|
+
# @xml.lname("Doe")
|
571
|
+
# @xml.info("Basic", :zip=>"95014", :phone=>"415-1111111")
|
572
|
+
# end
|
573
|
+
#generates an instance data in the model:
|
574
|
+
# <xf:instance id="user">
|
575
|
+
# <data xmlns="">
|
576
|
+
# <fname/>
|
577
|
+
# <lname>Doe</lname>
|
578
|
+
# <info phone="415-1111111" zip="95014">Basic</info>
|
579
|
+
# </data>
|
580
|
+
# </xf:instance>
|
581
|
+
|
582
|
+
def method_missing(sym, *options, &block)
|
583
|
+
text = nil
|
584
|
+
attrs = nil
|
585
|
+
sym = "#{sym}:#{options.shift}" if options.first.kind_of?(Symbol)
|
586
|
+
options.each do |arg|
|
587
|
+
case arg
|
588
|
+
when Hash
|
589
|
+
attrs ||= {}
|
590
|
+
attrs.merge!(arg)
|
591
|
+
else
|
592
|
+
text ||= ''
|
593
|
+
text << arg.to_s
|
594
|
+
end
|
595
|
+
end
|
596
|
+
if block
|
597
|
+
unless text.nil?
|
598
|
+
raise ArgumentError, "XmlMarkup cannot mix a text argument with a block"
|
599
|
+
end
|
600
|
+
_indent
|
601
|
+
_start_tag(sym, attrs)
|
602
|
+
_newline
|
603
|
+
_nested_structures(block)
|
604
|
+
_indent
|
605
|
+
_end_tag(sym)
|
606
|
+
_newline
|
607
|
+
elsif text.nil?
|
608
|
+
_indent
|
609
|
+
_start_tag(sym, attrs, true)
|
610
|
+
_newline
|
611
|
+
else
|
612
|
+
_indent
|
613
|
+
_start_tag(sym, attrs)
|
614
|
+
text! text
|
615
|
+
_end_tag(sym)
|
616
|
+
_newline
|
617
|
+
end
|
618
|
+
end
|
619
|
+
private
|
620
|
+
def _text(text)
|
621
|
+
@model_buffer << text
|
622
|
+
end
|
623
|
+
# Start an XML tag. If <tt>end_too</tt> is true, then the start
|
624
|
+
# tag is also the end tag (e.g. <br/>
|
625
|
+
def _start_tag(sym, attrs, end_too=false)
|
626
|
+
@model_buffer << "<#{sym}"
|
627
|
+
_insert_attributes(attrs)
|
628
|
+
@model_buffer << "/" if end_too
|
629
|
+
@model_buffer << ">"
|
630
|
+
end
|
631
|
+
# Insert an ending tag.
|
632
|
+
def _end_tag(sym)
|
633
|
+
@model_buffer << "</#{sym}>"
|
634
|
+
end
|
635
|
+
# Insert the attributes (given in the hash).
|
636
|
+
def _insert_attributes(attrs, order=[])
|
637
|
+
return if attrs.nil?
|
638
|
+
order.each do |k|
|
639
|
+
v = attrs[k]
|
640
|
+
@model_buffer << %{ #{k}="#{_attr_value(v)}"} if v # " WART
|
641
|
+
end
|
642
|
+
attrs.each do |k, v|
|
643
|
+
@model_buffer << %{ #{k}="#{_attr_value(v)}"} unless order.member?(k) # " WART
|
644
|
+
end
|
645
|
+
end
|
646
|
+
# End builder methods
|
647
|
+
end
|
648
|
+
end
|
649
|
+
end
|
650
|
+
|