public class ValidXMLCharacterFilterReader extends FilterReader
in| Constructor and Description |
|---|
ValidXMLCharacterFilterReader(Reader in)
Create a new
ValidXMLCharacterFilterReader. |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isAllowedInXml(int c)
The xml specification defines these character hex codes as allowed: #x9 | #xA | #xD | [#x20-#xD7FF] |
[#xE000-#xFFFD] | [#x10000-#x10FFFF] Characters outside this range will cause parsers to reject the xml as not
well formed.
|
int |
read(char[] buf,
int off,
int len) |
close, mark, markSupported, read, ready, reset, skippublic ValidXMLCharacterFilterReader(Reader in)
ValidXMLCharacterFilterReader.in - readerpublic int read(char[] buf,
int off,
int len)
throws IOException
read in class FilterReaderIOExceptionpublic static boolean isAllowedInXml(int c)
c - a characterCopyright © 2017 Inbot. All Rights Reserved.