public class XmlCorrectorMatrix extends XmlCorrector
Constructor and Description |
---|
XmlCorrectorMatrix(TreeSchema ts,
Tree tree,
int threshold) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Result> |
getCorrections()
Calculates every correction in the given threshold.
|
Result |
getMinimalCorrections()
Calculates every minimal correction in the given threshold.
|
public XmlCorrectorMatrix(TreeSchema ts, Tree tree, int threshold)
public java.util.Collection<Result> getCorrections() throws headerNodeException, onlyCharactersException, badAddressException, noNodeException, noMinimalTreeException, badOperationException, addNodeException, removeNodeException, abstractOperationException
XmlCorrector
getCorrections
in class XmlCorrector
headerNodeException
onlyCharactersException
badAddressException
noNodeException
noMinimalTreeException
badOperationException
addNodeException
removeNodeException
abstractOperationException
public Result getMinimalCorrections() throws headerNodeException, onlyCharactersException, badAddressException, noNodeException, noMinimalTreeException, badOperationException, addNodeException, removeNodeException, abstractOperationException
XmlCorrector
getMinimalCorrections
in class XmlCorrector
headerNodeException
onlyCharactersException
badAddressException
noNodeException
noMinimalTreeException
badOperationException
addNodeException
removeNodeException
abstractOperationException