Lines Matching refs:lexicalValue
23 * @param lexicalValue
25 * @return An instance of type with the assigned lexicalValue
27 public static Object getCastedObjectFromStringValue(String lexicalValue, Class type) {
32 return lexicalValue;
35 return new URL(lexicalValue);
42 return new Short(lexicalValue);
44 return new Byte(lexicalValue);
46 //return new Integer(lexicalValue);
47 retVal = new Integer(lexicalValue);
49 return new Long(lexicalValue);
51 return new Float(lexicalValue);
53 return new Double(lexicalValue);
55 return new Character(lexicalValue.charAt(0));
57 return new Boolean(lexicalValue);