public class BreakDetector<S> extends Object
| Constructor and Description |
|---|
BreakDetector(KeyDefinition<S,?> definition) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
broke(S source) |
Key |
getCurrentKey() |
Key |
getKey(S source) |
Object |
getValue() |
Object |
getValue(Key key) |
void |
handleSource(S source) |
boolean |
hasKeyDefinition() |
void |
markRootAsBroken() |
void |
setValue(Object value) |
void |
setValue(Object value,
Key key) |
public BreakDetector(KeyDefinition<S,?> definition)
public boolean broke(S source) throws MappingException
MappingExceptionpublic Key getCurrentKey()
public void handleSource(S source) throws MappingException
MappingExceptionpublic void setValue(Object value)
public Object getValue()
public void markRootAsBroken()
public boolean hasKeyDefinition()
Copyright © 2020. All rights reserved.