nu.validator.source
Interface SourceHandler
- All Known Implementing Classes:
- JsonExtractHandler, JsonSourceHandler, XhtmlExtractHandler, XhtmlSourceHandler, XmlExtractHandler, XmlSourceHandler
public interface SourceHandler
startSource
void startSource(String type,
String encoding)
throws SAXException
- Throws:
SAXException
setLineErrors
void setLineErrors(SortedSet<Integer> oneBasedLineErrors)
throws SAXException
- Throws:
SAXException
endSource
void endSource()
throws SAXException
- Throws:
SAXException
characters
void characters(char[] ch,
int start,
int length)
throws SAXException
- Throws:
SAXException
newLine
void newLine()
throws SAXException
- Throws:
SAXException
startRange
void startRange(int oneBasedLine,
int oneBasedColumn)
throws SAXException
- Throws:
SAXException
endRange
void endRange()
throws SAXException
- Throws:
SAXException
startCharHilite
void startCharHilite(int oneBasedLine,
int oneBasedColumn)
throws SAXException
- Throws:
SAXException
endCharHilite
void endCharHilite()
throws SAXException
- Throws:
SAXException