public class TagSaxDiffOutput extends Object implements TextDiffOutput
| Constructor and Description |
|---|
TagSaxDiffOutput(ContentHandler consumer) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAddedPart(String text)
Handles an addition.
|
void |
addClearPart(String text)
Handles normal text.
|
void |
addRemovedPart(String text)
Handles a deletion.
|
public TagSaxDiffOutput(ContentHandler consumer) throws SAXException
SAXExceptionpublic void addClearPart(String text) throws Exception
addClearPart in interface TextDiffOutputtext - string that was not changed.Exception - something went wrong.public void addRemovedPart(String text) throws Exception
addRemovedPart in interface TextDiffOutputtext - string that was removed.Exception - something went wrong.public void addAddedPart(String text) throws Exception
addAddedPart in interface TextDiffOutputtext - string that was added.Exception - something went wrong.Copyright © 2022. All rights reserved.