return null;\r
}\r
\r
- /**\r
- * Get the PcdToken array from module's surface area document. The array\r
- * should contains following data:\r
- * <p>\r
- * -------------------------------------------------------------------\r
- * </p>\r
- * <p>\r
- * CName | ItemType | TokenspaceName | DefaultValue | Usage | HelpText\r
- * </p>\r
- * <p>\r
- * -------------------------------------------------------------------\r
- * </p>\r
- * <p>\r
- * Note: Until new schema applying, now we can only get CName, ItemType,\r
- * </p>\r
- * \r
- * @return 2-array table contains all information of PCD token retrieved\r
- * from MSA.\r
- */\r
- public static Object[][] etModulePCDTokenArray() {\r
- return null;\r
- // int index;\r
- // Object[][] result;\r
- // PCDs.PcdData[] pcds;\r
- // String[] xPath = new String[] { "/PcdData" };\r
- // XmlObject[] returns = get("PCDs", xPath);\r
- //\r
- // if ((returns == null) || (returns.length == 0)) {\r
- // return null;\r
- // }\r
- //\r
- // pcds = (PCDs.PcdData[]) returns;\r
- // result = new Object[pcds.length][6];\r
- // for (index = 0; index < pcds.length; index++) {\r
- // //\r
- // // Get CName\r
- // //\r
- // result[index][0] = pcds[index].getCName();\r
- // //\r
- // // Get ItemType: FEATURE_FLAG, FIXED_AT_BUILD, PATCHABLE_IN_MODLE,\r
- // // DYNAMIC, DYNAMIC_EX\r
- // //\r
- // if (pcds[index].getItemType() != null) {\r
- // result[index][1] = pcds[index].getItemType().toString();\r
- // } else {\r
- // result[index][1] = null;\r
- // }\r
- //\r
- // //\r
- // // BUGBUG: following field can *not* be got from current MSA until\r
- // // schema changed.\r
- // //\r
- // // result [index][2] = pcds[index].getTokenSpaceName();\r
- // result[index][2] = null;\r
- // result[index][3] = pcds[index].getDefaultValue();\r
- // // result [index][4] = pcds[index].getUsage ();\r
- // result[index][4] = null;\r
- // // result [index][5] = pcds[index].getHelpText ();\r
- // result[index][5] = null;\r
- // }\r
- // return result;\r
- }\r
+ \r
\r
/**\r
- * Retrieve MAS header\r
+ * Retrieve MSA header\r
* \r
* @return\r
* @return\r