checkClosingTag static method
Ensure that the expected
tag matches the actual
one.
Implementation
static void checkClosingTag(String expected, String actual) {
if (expected != actual) {
throw XmlTagException.mismatchClosingTag(expected, actual);
}
}