com.ctc.wstx.api
Class InvalidCharHandler.ReplacingHandler
java.lang.Object
com.ctc.wstx.api.InvalidCharHandler.ReplacingHandler
- All Implemented Interfaces:
- InvalidCharHandler
- Enclosing interface:
- InvalidCharHandler
public static class InvalidCharHandler.ReplacingHandler
- extends Object
- implements InvalidCharHandler
Alternative to the default handler, this handler converts all invalid
characters to the specified output character. That character will
not be further verified or modified by the stream writer.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InvalidCharHandler.ReplacingHandler
public InvalidCharHandler.ReplacingHandler(char c)
convertInvalidChar
public char convertInvalidChar(int c)
throws IOException
- Specified by:
convertInvalidChar
in interface InvalidCharHandler
- Throws:
IOException
Copyright © 2011 Codehaus. All Rights Reserved.