nu.validator.source
Interface SourceHandler

All Known Implementing Classes:
JsonExtractHandler, JsonSourceHandler, XhtmlExtractHandler, XhtmlSourceHandler, XmlExtractHandler, XmlSourceHandler

public interface SourceHandler


Method Summary
 void characters(char[] ch, int start, int length)
           
 void endCharHilite()
           
 void endRange()
           
 void endSource()
           
 void newLine()
           
 void setLineErrors(SortedSet<Integer> oneBasedLineErrors)
           
 void startCharHilite(int oneBasedLine, int oneBasedColumn)
           
 void startRange(int oneBasedLine, int oneBasedColumn)
           
 void startSource(String type, String encoding)
           
 

Method Detail

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