InputSource requestSource = new InputSource(reader);
// instantiante parsers and content handlers
MyHandler contentHandler = new MyHandler();
FilterFilter filterParser = new FilterFilter(contentHandler, null);
GMLFilterGeometry geometryFilter = new GMLFilterGeometry(filterParser);
GMLFilterDocument documentFilter = new GMLFilterDocument(geometryFilter);
// Logger logger = Logging.getLogger("org.geotools.filter");
// logger.setLevel(Level.ALL);
// ConsoleHandler consoleHandler = new ConsoleHandler();