+ try {\r
+ Integer fv = new Integer(p.getContent());\r
+ return true;\r
+ } catch (Exception e)\r
+ {\r
+ return false;\r
+ } \r
+ }\r
+ return false;\r
+ }\r
+ /**\r
+ * String content test \r
+ * @param p\r
+ * @return true if the property is a string \r
+ */\r
+ public static boolean isString(Property p)\r
+ {\r
+ return isType(p, STRINGTYPE);\r
+ }\r
+ /**\r
+ * Float content test \r
+ * @param p\r
+ * @return true if the property is a string \r
+ */\r
+ public static boolean isFloat(Property p)\r
+ {\r
+ return isType(p, FLOATTYPE);\r
+ }\r
+ /**\r
+ * Integer content test \r
+ * @param p\r
+ * @return true if the property is a string \r
+ */\r
+ public static boolean isInteger(Property p)\r
+ {\r
+ return isType(p, INTEGERTYPE);\r
+ }\r
+ /**\r
+ * Boolean content test \r
+ * @param p\r
+ * @return true if the property is a string \r
+ */\r
+ public static boolean isBoolean(Property p)\r
+ {\r
+ return isType(p, BOOLEANTYPE);\r
+ }\r