protected static class XMLStreamEvents.Starter extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Charset |
bomEncoding |
protected int |
bufferSize |
protected byte[] |
bytes |
protected int |
bytesEnd |
protected int |
bytesStart |
protected Charset |
givenEncoding |
protected IO.Readable.Buffered |
io |
protected int |
line |
protected CharBuffer |
oneChar |
protected int |
posInLine |
protected CharsetDecoder |
tmpDecoder |
protected UnprotectedStringBuffer |
xmlEncoding |
protected UnprotectedStringBuffer |
xmlStandalone |
protected UnprotectedStringBuffer |
xmlVersion |
| Constructor and Description |
|---|
Starter(IO.Readable.Buffered io,
Charset givenEncoding,
int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
protected BufferedReadableCharacterStream |
end(char[] chars) |
void |
readBOM() |
protected BufferedReadableCharacterStream |
readXMLDeclaration() |
BufferedReadableCharacterStreamLocation |
start() |
protected IO.Readable.Buffered io
protected int bufferSize
protected Charset givenEncoding
protected Charset bomEncoding
protected byte[] bytes
protected int bytesStart
protected int bytesEnd
protected CharsetDecoder tmpDecoder
protected CharBuffer oneChar
protected int line
protected int posInLine
protected UnprotectedStringBuffer xmlVersion
protected UnprotectedStringBuffer xmlEncoding
protected UnprotectedStringBuffer xmlStandalone
public Starter(IO.Readable.Buffered io, Charset givenEncoding, int bufferSize)
public BufferedReadableCharacterStreamLocation start() throws IOException, XMLException
IOExceptionXMLExceptionpublic void readBOM()
throws IOException,
XMLException
IOExceptionXMLExceptionprotected BufferedReadableCharacterStream readXMLDeclaration() throws IOException
IOExceptionprotected BufferedReadableCharacterStream end(char[] chars)
Copyright © 2017. All rights reserved.