public final class NormalizationChecker extends Object implements CharacterHandler
| Constructor and Description |
|---|
NormalizationChecker(Locator locator)
Constructor with mode selection.
|
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length)
Receive notification of a run of UTF-16 code units.
|
void |
end()
Signals the end of the stream.
|
void |
err(String message)
Emit an error.
|
void |
setErrorHandler(ErrorHandler errorHandler) |
void |
start()
Signals the start of the stream.
|
public NormalizationChecker(Locator locator)
sourceTextMode - whether the source text-related messages
should be enabled.public void err(String message) throws SAXException
message - the error messageSAXException - if something goes wrongpublic void start()
CharacterHandlerstart in interface CharacterHandlerCharacterHandler.start()public void characters(char[] ch,
int start,
int length)
throws SAXException
CharacterHandlercharacters in interface CharacterHandlerch - the bufferstart - start index in the bufferlength - the number of characters to process starting from startSAXException - if things go wrongCharacterHandler.characters(char[], int, int)public void end()
throws SAXException
CharacterHandlerend in interface CharacterHandlerSAXException - if things go wrongCharacterHandler.end()public void setErrorHandler(ErrorHandler errorHandler)
Copyright © 2016. All rights reserved.