public class XmlDeclStream
extends java.io.FilterInputStream
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
_lineEndCR |
protected boolean |
_lineEndCRLF |
protected boolean |
_lineEndLF |
protected int |
_prevChar |
| Constructor and Description |
|---|
XmlDeclStream(java.io.InputStream strm) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkLineEnd(int ch) |
java.util.List<java.lang.Integer> |
getCharacterReferences()
Returns the character references as a List
of Integers.
|
java.lang.String |
getEncoding()
Returns the encoding string.
|
java.lang.String |
getKindOfLineEnd() |
java.lang.String |
getStandalone()
Returns the standalone string.
|
java.lang.String |
getVersion()
Returns the version string.
|
int |
read()
Reads the next byte of data from this input stream.
|
int |
read(byte[] b)
Reads up to
byte.length bytes of data from this
input stream into an array of bytes. |
int |
read(byte[] b,
int off,
int len)
Reads up to
len bytes of data from this
input stream into an array of bytes. |
protected boolean _lineEndCR
protected boolean _lineEndLF
protected boolean _lineEndCRLF
protected int _prevChar
public int read()
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic int read(byte[] b)
throws java.io.IOException
byte.length bytes of data from this
input stream into an array of bytes.
Processes bytes as it reads them.read in class java.io.FilterInputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
len bytes of data from this
input stream into an array of bytes.
Processes bytes as it reads them.read in class java.io.FilterInputStreamjava.io.IOExceptionpublic java.util.List<java.lang.Integer> getCharacterReferences()
public java.lang.String getVersion()
public java.lang.String getEncoding()
public java.lang.String getStandalone()
protected void checkLineEnd(int ch)
public java.lang.String getKindOfLineEnd()