|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jagg.msd.SelfExtractor<E>
E
- The element type whose label is itself.public class SelfExtractor<E>
A SelfExtractor
returns the element itself as the label.
Constructor Summary | |
---|---|
SelfExtractor()
|
Method Summary | |
---|---|
E |
getLabel(E element)
Returns the element as its own label. |
boolean |
isAllComplete()
The SelfExtractor is never "all complete", i.e., there are
no Discriminators up the chain to notify that discrimination
is complete. |
boolean |
isComplete(E element)
The SelfExtractor is never "complete", i.e., we would never
want to prevent the calling of getLabel because that method
will always succeed. |
void |
setAllComplete(boolean allComplete)
The SelfExtractor is never "all complete", i.e., there are
no Discriminators up the chain to notify that discrimination
is complete. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SelfExtractor()
Method Detail |
---|
public E getLabel(E element)
getLabel
in interface Extractor<E,E>
element
- The element.
public boolean isComplete(E element)
SelfExtractor
is never "complete", i.e., we would never
want to prevent the calling of getLabel
because that method
will always succeed.
isComplete
in interface Extractor<E,E>
element
- The element.
false
.public void setAllComplete(boolean allComplete)
SelfExtractor
is never "all complete", i.e., there are
no Discriminators
up the chain to notify that discrimination
is complete.
setAllComplete
in interface Extractor<E,E>
allComplete
- Whether all elements were complete.public boolean isAllComplete()
SelfExtractor
is never "all complete", i.e., there are
no Discriminators
up the chain to notify that discrimination
is complete.
isAllComplete
in interface Extractor<E,E>
false
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |