public class SetNameFieldProcessor extends java.lang.Object implements FieldProcessor
Modifier and Type | Field and Description |
---|---|
static int |
FLAG_SETBASE |
static int |
FLAG_SETVARIANT |
protected int |
flags |
protected ExtractionHelper |
helper |
protected java.util.Collection |
scope |
protected java.lang.String |
targetField |
Constructor and Description |
---|
SetNameFieldProcessor(ExtractionHelper helper,
java.lang.String targetField,
java.util.Collection scope)
Creates a new instance of SetNameFieldProcessor
|
SetNameFieldProcessor(ExtractionHelper helper,
java.lang.String targetField,
java.util.Collection scope,
int flags) |
Modifier and Type | Method and Description |
---|---|
void |
processDatum(java.util.Map datum,
java.lang.String field,
TopicMap tm,
Logger logger) |
public static final int FLAG_SETBASE
public static final int FLAG_SETVARIANT
protected ExtractionHelper helper
protected java.lang.String targetField
protected java.util.Collection scope
protected int flags
public SetNameFieldProcessor(ExtractionHelper helper, java.lang.String targetField, java.util.Collection scope)
public SetNameFieldProcessor(ExtractionHelper helper, java.lang.String targetField, java.util.Collection scope, int flags)
public void processDatum(java.util.Map datum, java.lang.String field, TopicMap tm, Logger logger) throws ExtractionException
processDatum
in interface FieldProcessor
ExtractionException
Copyright 2004-2015 Wandora Team