public final class XmlChunk extends ChunkWithChunks
An XML chunk can contain many nodes as well as a string pool which contains all of the strings referenced by the nodes.
Chunk.TypechunkSize, headerSize, METADATA_SIZE, offset, PAD_BOUNDARY| Modifier | Constructor and Description |
|---|---|
protected |
XmlChunk(java.nio.ByteBuffer buffer,
Chunk parent) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getString(int index)
Returns a string at the provided (0-based) index if the index exists in the string pool.
|
protected Chunk.Type |
getType() |
getChunks, init, writePayloadgetHeaderSize, getOriginalChunkSize, getParent, newInstance, newInstance, toByteArray, toByteArray, writeHeader, writeHeader, writePadprotected XmlChunk(java.nio.ByteBuffer buffer,
@Nullable
Chunk parent)
protected Chunk.Type getType()
public java.lang.String getString(int index)