String uri = extractorConfig.getAttribute("uri", null);
String contentType = extractorConfig.getAttribute("content-type", null);
String namespace = getName();
try {
Class extractorClass = Class.forName(classname);
Extractor extractor = null;
Constructor extractorConstructor = extractorClass.getConstructor(new Class[] { String.class, String.class, String.class } );
extractor = (Extractor)extractorConstructor.newInstance(new String[] { uri, contentType, namespace });
if ( extractor instanceof Configurable ) {
((Configurable)extractor).configure(extractorConfig.getConfiguration("configuration"));
}