no.sesat.search.result.handler
Class FieldSplitterResultHandlerConfig
java.lang.Object
no.sesat.search.result.handler.AbstractResultHandlerConfig
no.sesat.search.result.handler.FieldSplitterResultHandlerConfig
- All Implemented Interfaces:
- Serializable, ResultHandlerConfig
@AbstractResultHandlerConfig.Controller(value="FieldSplitter")
public final class FieldSplitterResultHandlerConfig
- extends AbstractResultHandlerConfig
Config for the result handler to split a field into an array.
- Version:
- $Id: FieldSplitterResultHandlerConfig.java 7225 2009-04-09 00:32:20Z ssmiweve $
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldSplitterResultHandlerConfig
public FieldSplitterResultHandlerConfig()
readResultHandler
public AbstractResultHandlerConfig readResultHandler(Element element)
- Specified by:
readResultHandler in interface ResultHandlerConfig- Overrides:
readResultHandler in class AbstractResultHandlerConfig
- Returns:
getFromField
public String getFromField()
- The field whose content will be split.
- Returns:
- the fromField
setFromField
public void setFromField(String from)
- Parameters:
from - Set from field.- See Also:
getFromField()
getToField
public String getToField()
- The field where the array resulting from the split will end up in.
- Returns:
- the toField
setToField
public void setToField(String to)
- Parameters:
to - set to field.- See Also:
getToField()
getSeparator
public String getSeparator()
- The separator to split upon.
- Returns:
- the separator
setSeparator
public void setSeparator(String s)
- Parameters:
s - separator to use.- See Also:
getSeparator()
Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.