|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.common.align.model.transformation.tree.impl.LeftoversImpl
public class LeftoversImpl
Default Leftovers
implementation.
Constructor Summary | |
---|---|
LeftoversImpl(SourceNode originalSource,
Object... leftovers)
Constructor |
Method Summary | |
---|---|
void |
addLeftover(Object value,
SourceNode annotatedParent)
Adds the given value to the leftovers. |
Pair<SourceNode,Set<Cell>> |
consumeValue()
Consume a left over value completely (for all remaining cells). |
SourceNode |
consumeValue(Cell cell)
Consume a left over value regarding the given cell. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LeftoversImpl(SourceNode originalSource, Object... leftovers)
originalSource
- the original source node to be duplicatedleftovers
- the left over valuesMethod Detail |
---|
public void addLeftover(Object value, SourceNode annotatedParent)
value
- the leftover valueannotatedParent
- the value for the annotated parent field of the
duplicate nodespublic Pair<SourceNode,Set<Cell>> consumeValue()
Leftovers
consumeValue
in interface Leftovers
null
if there is no value that hasn't been consumed
completelyLeftovers.consumeValue()
public SourceNode consumeValue(Cell cell)
Leftovers
consumeValue
in interface Leftovers
cell
- the cell
null
if
there is no value that is not yet consumed completely or for the
given cellLeftovers.consumeValue(Cell)
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |