Package nu.validator.messages
Class XhtmlResultHandler
java.lang.Object
nu.validator.messages.XhtmlResultHandler
- All Implemented Interfaces:
ResultHandler
public class XhtmlResultHandler extends java.lang.Object implements ResultHandler
-
Constructor Summary
Constructors Constructor Description XhtmlResultHandler(XhtmlSaxEmitter emitter)
-
Method Summary
Modifier and Type Method Description void
characters(char[] ch, int start, int length)
Append a string consisting of the characters from ch[start] thru ch[start+length-1] inclusive to the result message.void
endResult()
void
startResult(Result result)
-
Constructor Details
-
XhtmlResultHandler
- Parameters:
emitter
-
-
-
Method Details
-
characters
public void characters(char[] ch, int start, int length) throws org.xml.sax.SAXExceptionDescription copied from interface:ResultHandler
Append a string consisting of the characters from ch[start] thru ch[start+length-1] inclusive to the result message.- Specified by:
characters
in interfaceResultHandler
- Throws:
org.xml.sax.SAXException
- See Also:
StringBuffer.append(char[], int, int)
,ContentHandler.characters(char[], int, int)
-
endResult
public void endResult() throws org.xml.sax.SAXException- Specified by:
endResult
in interfaceResultHandler
- Throws:
org.xml.sax.SAXException
-
startResult
- Specified by:
startResult
in interfaceResultHandler
- Throws:
org.xml.sax.SAXException
-