public abstract class NodeFactory extends BaseEntityFactory<Node>
Objects of this class should not be created directly as they are part of the internal logic.
| Constructor and Description |
|---|
NodeFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Node |
construct(Dataset dataSet,
int index,
BinaryReader reader)
Implements the creation of a new instance of Node.
|
Node |
create(Dataset dataSet,
int index,
BinaryReader reader)
Creates a new instance of Node.
|
int |
getBaseLength() |
int |
getNodeNumericIndexLength() |
getLength, getLengthpublic Node create(Dataset dataSet, int index, BinaryReader reader) throws IOException
create in class BaseEntityFactory<Node>dataSet - The data set whose node list the node is contained within.index - The offset to the start of the node within the string data
structure.reader - Binary reader positioned at the start of the Node.IOException - if there was a problem accessing data file.public int getBaseLength()
public int getNodeNumericIndexLength()
protected abstract Node construct(Dataset dataSet, int index, BinaryReader reader) throws IOException
dataSet - The data set whose node list the node is contained within.index - The offset to the start of the node within the string data
structure.reader - Binary reader positioned at the start of the Node.IOException - if there was a problem accessing data file.Copyright © 2017 51Degrees. All rights reserved.