@Override public String toString() { String key = getKey(); StringBuilder str = new StringBuilder(); str.append(getClass().getSimpleName()).append("{") .append("Name:").append(key).append(",") .append("Value:").append(getValue()).append(",") .append("Type:").append(getDataType()).append(",") .append("Value-Type:").append(getValueType()).append(",") .append("Transient:").append(isTransient()).append("}"); return str.toString(); } }
return property.getValue();
protected void formatProperties(StringBuilder msg, Collection<Property> properties) { for (Property prop : properties) { if (prop.isTransient()) { continue; } msg.append("\n\t\t").append(prop.getKey()).append(": '").append(prop.getValue()).append(":") .append(prop.getDataType()).append(":").append(prop.getValueType()).append("'"); } } }
return property.getValue();
Object value = prop.getValue();
buffer.append(END_ATTR); Object value = entry.getValue(); if (value instanceof DumpCollection) { buffer.append(subPadding);
@Override public String format(Property prop) { if (level == 9) { return super.format(prop); } if (prop == null || prop.isTransient()) { return EMPTY_STR; } Object value = prop.getValue(); if (isSpecialSuppress(value)) { return EMPTY_STR; } StringBuilder jsonString = new StringBuilder(256); jsonString.append(Utils.quote(StringEscapeUtils.escapeJson(getKeyStr(prop.getKey())))).append(ATTR_SEP); if (isNoNeedToQuote(value)) { jsonString.append(propValueToString(value)); } else { Utils.quote(StringEscapeUtils.escapeJson(propValueToString(value)), jsonString); } return jsonString.toString(); }