|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.node.property.hilite.DefaultHiLiteMapper
public class DefaultHiLiteMapper
A default mapper for hilite translation which holds a map from
RowKey to a set of RowKeys as value.
| Constructor Summary | |
|---|---|
DefaultHiLiteMapper(Map<RowKey,Set<RowKey>> map)
Creates a new default hilite mapper. |
|
| Method Summary | |
|---|---|
Set<RowKey> |
getKeys(RowKey key)
Returns a set of RowKey elements which are associated
by the specified key or null if no mapping
is available. |
Set<RowKey> |
keySet()
Returns an unmodifiable set of key (source) for hiliting. |
static DefaultHiLiteMapper |
load(ConfigRO config)
Restores the mapper from the config object that has been written using the save method. |
void |
save(ConfigWO config)
Saves the settings in this mapper to a config object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultHiLiteMapper(Map<RowKey,Set<RowKey>> map)
map - keeps the RowKey to set of
RowKeys mapping| Method Detail |
|---|
public Set<RowKey> getKeys(RowKey key)
RowKey elements which are associated
by the specified key or null if no mapping
is available.
getKeys in interface HiLiteMapperkey - the key to get the mapping for
RowKey elementspublic Set<RowKey> keySet()
keySet in interface HiLiteMapperpublic void save(ConfigWO config)
config - The config to write to.
public static DefaultHiLiteMapper load(ConfigRO config)
throws InvalidSettingsException
config - To read from
InvalidSettingsException - If that fails.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||