Module:JSRList

local p = {}

p.jsrList = function(frame) local strings = {} local result = "" local function addJsr(num, meaning) table.insert(strings, ".. num .. " JSR " .. num .. " " .. meaning) end for i, arg in ipairs(frame.args) do		if (arg == "68") then addJsr("68", "J2ME Platform Specification") elseif (arg == "30") then addJsr("30", "Connected Limited Device Configuration 1.x") elseif (arg == "37") then addJsr("37", "Mobile Information Device Profile 1.0") elseif (arg == "118") then addJsr("118", "Mobile Information Device Profile 2.x") elseif (arg == "139") then addJsr("139", "Connected Limited Device Configuration 1.1") elseif (arg == "271") then addJsr("271", "Mobile Information Device Profile 3.0") elseif (arg == "360") then addJsr("360", "Connected Limited Device Configuration 8") elseif (arg == "361") then addJsr("361", "Java ME Embedded Profile") elseif (arg == "75") then addJsr("75", "File Connection and PIM API") elseif (arg == "82") then addJsr("82", "Bluetooth API") elseif (arg == "120") then addJsr("120", "Wireless Messaging API (WMA)") elseif (arg == "135") then addJsr("135", "Mobile Media API (MMAPI)") elseif (arg == "172") then addJsr("172", "Web Services API") elseif (arg == "177") then addJsr("177", "Security and Trust Services API (SATSA)") elseif (arg == "179") then addJsr("179", "Location API") elseif (arg == "180") then addJsr("180", "SIP API") elseif (arg == "184") then addJsr("184", "Mobile 3D Graphics (M3G)") elseif (arg == "185") then addJsr("185", "Java Technology for the Wireless Industry (JTWI)") elseif (arg == "205") then addJsr("205", "Wireless Messaging API (WMA) 2.0") elseif (arg == "211") then addJsr("211", "Content Handler API (CHAPI)") elseif (arg == "226") then addJsr("226", "Scalable 2D Vector Graphics API for J2ME (M2G)") elseif (arg == "228") then addJsr("228", "Information Module Profile – Next Generation (IMP NG)") elseif (arg == "229") then addJsr("229", "Payment API") elseif (arg == "234") then addJsr("234", "Advanced Multimedia Supplements (AMMS)") elseif (arg == "238") then addJsr("238", "Mobile Internationalization API") elseif (arg == "239") then addJsr("239", "Java Bindings for the OpenGL ES API") elseif (arg == "248") then addJsr("248", "Mobile Service Architecture (MSA)") elseif (arg == "253") then addJsr("253", "Mobile Telephony API") elseif (arg == "256") then addJsr("256", "Mobile Sensor API") elseif (arg == "257") then addJsr("257", "Contactless Communication API") elseif (arg == "258") then addJsr("258", "Mobile User Interface Customization API") elseif (arg == "272") then addJsr("272", "Mobile Broadcast Service API for Handheld Terminals") elseif (arg == "280") then addJsr("280", "XML API for Java ME") elseif (arg == "281") then addJsr("281", "IMS Services API") elseif (arg == "287") then addJsr("287", "Scalable 2D Vector Graphics API 2.0 for Java ME") elseif (arg == "293") then addJsr("293", "Location API 2.0") elseif (arg == "298") then addJsr("298", "Telematics API for Java ME") elseif (arg == "300") then addJsr("300", "DRM API for Java ME") elseif (arg == "325") then addJsr("325", "IMS Communication Enablers") elseif (arg == "297") then addJsr("297", "Mobile 3D Graphics API (M3G) 2.0") else result = result .. arg end end result = table.concat(strings, " ") return result end

return p