public class NodeMemoryFactoryV32 extends NodeFactory
Objects of this class should not be created directly as they are part of the internal logic.
| Constructor and Description |
|---|
NodeMemoryFactoryV32() |
| Modifier and Type | Method and Description |
|---|---|
protected Node |
construct(Dataset dataSet,
int index,
BinaryReader reader)
Implements the creation of a new instance of Node version 3.2.
|
int |
getLength(Node entity)
Returns the length of the NodeV32 entity provided.
|
create, getBaseLength, getNodeNumericIndexLengthgetLengthprotected Node construct(Dataset dataSet, int index, BinaryReader reader)
construct in class NodeFactorydataSet - 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.public int getLength(Node entity) throws IOException
getLength in class BaseEntityFactory<Node>entity - An entity of type Node who length is require.IOException - if there was a problem accessing data file.Copyright © 2015 51Degrees. All rights reserved.