public Object nativeToJava(TransferData transferData) {
String string = (String) TextTransfer.getInstance().nativeToJava(transferData);
InputSource input = new InputSource(new StringReader(string));
DefaultFeatureCollection collection = new DefaultFeatureCollection();
GMLReceiver receiver = new GMLReceiver(collection);
GMLFilterFeature filterFeature = new GMLFilterFeature(receiver);
GMLFilterGeometry filterGeometry = new GMLFilterGeometry(filterFeature);
GMLFilterDocument filterDocument = new GMLFilterDocument(filterGeometry);
try {
// parse xml