public class TagCorrection extends java.lang.Object implements Correction
Modifier and Type | Field and Description |
---|---|
java.lang.String |
newKey
New key
|
java.lang.String |
newValue
New value
|
java.lang.String |
oldKey
Old key
|
java.lang.String |
oldValue
Old value
|
Constructor and Description |
---|
TagCorrection(java.lang.String oldKey,
java.lang.String oldValue,
java.lang.String newKey,
java.lang.String newValue)
Constructs a new
TagCorrection . |
Modifier and Type | Method and Description |
---|---|
boolean |
isKeyChanged()
Determines if the key has changed.
|
boolean |
isValueChanged()
Determines if the value has changed.
|
public final java.lang.String oldKey
public final java.lang.String newKey
public final java.lang.String oldValue
public final java.lang.String newValue
public TagCorrection(java.lang.String oldKey, java.lang.String oldValue, java.lang.String newKey, java.lang.String newValue)
TagCorrection
.oldKey
- old keyoldValue
- old valuenewKey
- new keynewValue
- new valuepublic boolean isKeyChanged()
true
if the key has changedpublic boolean isValueChanged()
true
if the value has changed