Package nu.validator.htmlparser.common
Interface CharacterHandler
-
- All Known Implementing Classes:
NormalizationChecker
public interface CharacterHandlerAn interface for receiving notifications of UTF-16 code units read from a character stream.- Version:
- $Id$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcharacters(char[] ch, int start, int length)Receive notification of a run of UTF-16 code units.voidend()Signals the end of the stream.voidstart()Signals the start of the stream.
-
-
-
Method Detail
-
characters
void characters(char[] ch, int start, int length) throws org.xml.sax.SAXExceptionReceive notification of a run of UTF-16 code units.- Parameters:
ch- the bufferstart- start index in the bufferlength- the number of characters to process starting fromstart- Throws:
org.xml.sax.SAXException- if things go wrong
-
end
void end() throws org.xml.sax.SAXException
Signals the end of the stream. Can be used for cleanup. Doesn't mean that the stream ended successfully.- Throws:
org.xml.sax.SAXException- if things go wrong
-
start
void start() throws org.xml.sax.SAXExceptionSignals the start of the stream. Can be used for setup.- Throws:
org.xml.sax.SAXException- if things go wrong
-
-