private void filterProperties(PropertyList<Property> properties, StringBuilder buffer) { if (isAllProperties()) { buffer.append(properties.toString()); return; } if (! hasPropertyFilters()) { return; } for (Property property : properties) { PropertyMatch pm = testPropertyValue(property.getName()); if (pm.isMatch()) { if (pm.isValueExcluded()) { chompPropertyValue(property, buffer); } else { buffer.append(property.toString()); } } } }
private void filterProperties(PropertyList<Property> properties, StringBuilder buffer) { if (isAllProperties()) { buffer.append(properties.toString()); return; } if (! hasPropertyFilters()) { return; } for (Property property : properties) { PropertyMatch pm = testPropertyValue(property.getName()); if (pm.isMatch()) { if (pm.isValueExcluded()) { chompPropertyValue(property, buffer); } else { buffer.append(property.toString()); } } } }