public abstract class BinaryIndex
extends java.lang.Object
Constructor and Description |
---|
BinaryIndex() |
Modifier and Type | Method and Description |
---|---|
static BinaryIndex |
buildIndex(InfosetReader reader,
long size)
Factory method to create concreet index class based on binary size
The actual index will be the smallest one that can handle the size.
|
static BinaryIndex |
createIndex(int size) |
void |
endElement() |
BinaryIndex |
enlargeIndex() |
BinaryNav |
getNavigator()
Create navigator from the index
|
void |
setStream(BinaryStream stream) |
boolean |
startElement(long idx) |
public BinaryNav getNavigator()
public static BinaryIndex buildIndex(InfosetReader reader, long size) throws java.lang.Exception
reader
- -- InfosetReader to read binary datasize
- -- the size of binary datajava.lang.Exception
public static BinaryIndex createIndex(int size)
public void setStream(BinaryStream stream)
public BinaryIndex enlargeIndex()
public boolean startElement(long idx)
public void endElement()
Copyright © 2020, 2024, Oracle and/or its affiliates.