| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | mCharCount
Total read character count; used for error reporting purposes (note: byte count is the same, due to fixed one-byte-per char mapping) |
| pack-priv boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | read(char[]
Destination buffer cbuf, int Offset at which to start storing characters start, int Maximum number of characters to read len)Implements abstract java. Reads characters into a portion of an array. |
| private void | |
| public void | setXmlCompliancy(int xmlVersion)
Implements abstract com. Method that can be called to indicate the xml conformance used when reading content using this reader. |
| mCharCount | back to summary |
|---|---|
| pack-priv int mCharCount Total read character count; used for error reporting purposes (note: byte count is the same, due to fixed one-byte-per char mapping) | |
| mXml11 | back to summary |
|---|---|
| pack-priv boolean mXml11 | |
| AsciiReader | back to summary |
|---|---|
| public AsciiReader(ReaderConfig cfg, InputStream in, byte[] buf, int ptr, int len, boolean recycleBuffer) | |
| read | back to summary |
|---|---|
| public int read(char[] cbuf, int start, int len) throws IOException Implements abstract java. Doc from java. Reads characters into a portion of an array. This method will block until some input is available, an I/O error occurs, or the end of the stream is reached. If
| |
| reportInvalidAscii | back to summary |
|---|---|
| private void reportInvalidAscii(char c) throws IOException | |
| setXmlCompliancy | back to summary |
|---|---|
| public void setXmlCompliancy(int xmlVersion) Implements abstract com. Doc from com. Method that can be called to indicate the xml conformance used when reading content using this reader. Some of the character validity checks need to be done at reader level, and sometimes they depend on xml level (for example, xml 1.1 has new linefeeds and both more and less restricted characters).
| |