5556575859606162636465
return value.toString(); } public Boolean toValue(String string, INode node) { if(Strings.isEmpty(string)) throw new ValueConverterException("Could not convert empty string to boolean", node, null); return new Boolean(string).equals(Boolean.TRUE) ? Boolean.TRUE : Boolean.FALSE; }
4647484950515253
return null; try { string = cssUnicodeToJavaUnicode(string); return Strings.convertFromJavaString(string.substring(1, string.length() - 1), true); } catch (IllegalArgumentException e) { throw new ValueConverterException(e.getMessage(), node, e); } }