public abstract class PropertyChangeAppender<T extends PropertyChange> extends Object
| Constructor and Description |
|---|
PropertyChangeAppender() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Collection<T> |
calculateChanges(NodePair pair,
Property supportedProperty) |
Collection<T> |
calculateChangesIfSupported(NodePair pair,
Property property,
JaversType propertyType)
checks if given property is supported and if so,
delegates calculation to concrete appender in calculateChanges()
|
protected abstract Class<? extends JaversType> |
getSupportedPropertyType() |
protected boolean |
supports(JaversType propertyType) |
public final Collection<T> calculateChangesIfSupported(NodePair pair, Property property, JaversType propertyType)
protected boolean supports(JaversType propertyType)
protected abstract Class<? extends JaversType> getSupportedPropertyType()
protected abstract Collection<T> calculateChanges(NodePair pair, Property supportedProperty)
Copyright © 2014. All rights reserved.