@Override public void startAnnotation(String key, String value) { if (a.checkStartAnnotation(key, value, v) == ValidationResult.ILL_FORMED) { throw new IllFormed(); } a.doStartAnnotation(key, value); }
@Override public void endAnnotation(String key) { if (a.checkEndAnnotation(key, v) == ValidationResult.ILL_FORMED) { throw new IllFormed(); } a.doEndAnnotation(key); }
@Override public void elementStart(String tagName, Attributes attributes) { if (a.checkElementStart(tagName, attributes, v) == ValidationResult.ILL_FORMED) { throw new IllFormed(); } a.doElementStart(tagName, attributes); }
@Override public void elementEnd() { if (a.checkElementEnd(v) == ValidationResult.ILL_FORMED) { throw new IllFormed(); } a.doElementEnd(); }
@Override public void deleteElementStart() { if (a.checkDeleteElementStart(v) == ValidationResult.ILL_FORMED) { throw new IllFormed(); } a.doDeleteElementStart(); }
@Override public void updateAttributes(Map<String, String> attributes) { if (a.checkUpdateAttributes(attributes, v) == ValidationResult.ILL_FORMED) { throw new IllFormed(); } a.doUpdateAttributes(attributes); } });
@Override public void replaceAttributes(Attributes attributes) { if (a.checkSetAttributes(attributes, v) == ValidationResult.ILL_FORMED) { throw new IllFormed(); } a.doSetAttributes(attributes); }
@Override public void deleteElementEnd() { if (a.checkDeleteElementEnd(v) == ValidationResult.ILL_FORMED) { throw new IllFormed(); } a.doDeleteElementEnd(); }
@Override public void characters(String s) { if (a.checkCharacters(s, v) == ValidationResult.ILL_FORMED) { throw new IllFormed(); } a.doCharacters(s); }
@Override public void skip(int n) { if (a.checkSkip(n, v) == ValidationResult.ILL_FORMED) { throw new IllFormed(); } a.doSkip(n); }
@Override public void deleteCharacters(int n) { if (a.checkDeleteCharacters(n, v) == ValidationResult.ILL_FORMED) { throw new IllFormed(); } a.doDeleteCharacters(n); }