public class SemanticTupleLoader extends TupleLoader<DataRecord>
| Constructor and Description |
|---|
SemanticTupleLoader() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
dataMatches(DataRecord data,
prefuse.data.Tuple tuple)
Determine whether the given data and tuple represent the same data.
|
DataRecord |
getData(prefuse.data.Tuple tuple)
Get the original data element which matches the provided tuple.
|
void |
loadData(DataRecord rec,
prefuse.data.Tuple tuple)
Load data from the DataRecord into the tuple.
|
addData, findTuple, getLabelField, getTable, setLabelField, setTableprotected boolean dataMatches(DataRecord data, prefuse.data.Tuple tuple)
dataMatches in class TupleLoader<DataRecord>data - the data elementtuple - the tuplepublic DataRecord getData(prefuse.data.Tuple tuple)
getData in class TupleLoader<DataRecord>tuple - the Tuple to matchpublic void loadData(DataRecord rec, prefuse.data.Tuple tuple)
loadData in class TupleLoader<DataRecord>rec - the data elementtuple - the tuple to load