tempExp1 = factory.createLiteralExpression(DefaultExpression.LITERAL_STRING);
tempExp2 = factory.createAttributeExpression((FeatureType)null,"Person/Address/City");
tempExp1.setLiteral("Main St.");
tempExp1.setLiteral("SomeTown");
//tempExp2.setAttributePath("Person/Address/City"); // done at creations time
tempFilter.addRightValue(tempExp1);
tempFilter.addLeftValue(tempExp2);
logicFilter = logicFilter.and(tempFilter);
LOGGER.fine("filter: " + logicFilter);
tempFilter = factory.createCompareFilter(AbstractFilter.COMPARE_EQUALS);
tempExp1 = factory.createLiteralExpression(DefaultExpression.LITERAL_STRING);