public static class Nodes.NodeVector extends SimpleVector<SeqPosition> implements PositionConsumer
sizeATTRIBUTE_VALUE, BOOLEAN_VALUE, CDATA_VALUE, CHAR_VALUE, COMMENT_VALUE, DOCUMENT_VALUE, DOUBLE_VALUE, ELEMENT_VALUE, EOF_VALUE, eofValue, FLOAT_VALUE, INT_S16_VALUE, INT_S32_VALUE, INT_S64_VALUE, INT_S8_VALUE, INT_U16_VALUE, INT_U32_VALUE, INT_U64_VALUE, INT_U8_VALUE, OBJECT_VALUE, PRIM_VALUE, PROCESSING_INSTRUCTION_VALUE, TEXT_BYTE_VALUE| Constructor and Description |
|---|
NodeVector() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clearBuffer(int start,
int count) |
void |
consumePosRange(int iposStart,
int iposEnd,
Consumer out) |
protected java.lang.Object |
getBuffer() |
protected SeqPosition |
getBuffer(int index) |
int |
getBufferLength()
Get the allocated length of the data buffer.
|
int |
getPos(int index) |
AbstractSequence |
getSeq(int index) |
protected SeqPosition |
makeSeqPos(AbstractSequence seq,
int ipos) |
protected void |
setBuffer(int index,
AbstractSequence seq,
int ipos) |
protected void |
setBuffer(int index,
SeqPosition value) |
void |
setBufferLength(int length) |
void |
shift(int srcStart,
int dstStart,
int count) |
void |
writePosition(AbstractSequence seq,
int ipos)
Consume a single position pair.
|
void |
writePosition(SeqPosition seq)
Consume node at current position.
|
add, add, addAll, addPos, checkCanWrite, clear, compareToInt, compareToLong, consume, fill, fill, fillPosRange, get, getElementKind, getNextKind, getPosNext, getRowMajor, getTag, intAt, intAtBuffer, isAfterPos, longAt, longAtBuffer, nextIndex, nextPos, remove, remove, removeAll, removePos, removePosRange, resizeShift, retainAll, set, setSize, size, transposeaddAll, compare, compare, compare, consume, consumeNext, contains, containsAll, copyPos, createPos, createRelativePos, elements, endPos, equals, equals, firstAttributePos, firstChildPos, firstChildPos, fromEndIndex, get, getAttribute, getAttributeLength, getContainingSequenceSize, getEffectiveIndex, getIndexDifference, getIterator, getIterator, getIteratorAtPos, getLowBound, getNextTypeName, getNextTypeObject, getPosPrevious, getSize, gotoAttributesStart, gotoChildrenStart, gotoParent, hashCode, hasNext, hasPrevious, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, nextIndex, nextMatching, parentPos, previousPos, rank, releasePos, set, setPosNext, setPosPrevious, stableCompare, startPos, subList, subSequence, subSequencePos, toArray, toArray, toString, toString, unsupported, unsupportedExceptionclone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, contains, containsAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, replaceAll, sort, spliterator, subList, toArray, toArrayconsumeget, getEffectiveIndex, getLowBound, getSize, isEmpty, rank, setpublic int getBufferLength()
SimpleVectorgetBufferLength in class SimpleVector<SeqPosition>public void setBufferLength(int length)
setBufferLength in class SimpleVector<SeqPosition>protected java.lang.Object getBuffer()
getBuffer in class SimpleVector<SeqPosition>protected SeqPosition getBuffer(int index)
getBuffer in class SimpleVector<SeqPosition>public AbstractSequence getSeq(int index)
public int getPos(int index)
protected SeqPosition makeSeqPos(AbstractSequence seq, int ipos)
protected void setBuffer(int index,
SeqPosition value)
setBuffer in class SimpleVector<SeqPosition>protected void setBuffer(int index,
AbstractSequence seq,
int ipos)
protected void clearBuffer(int start,
int count)
clearBuffer in class SimpleVector<SeqPosition>public void writePosition(SeqPosition seq)
PositionConsumerwritePosition in interface PositionConsumerpublic void writePosition(AbstractSequence seq, int ipos)
PositionConsumerwritePosition in interface PositionConsumerpublic void shift(int srcStart,
int dstStart,
int count)
shift in class SimpleVector<SeqPosition>public void consumePosRange(int iposStart,
int iposEnd,
Consumer out)
consumePosRange in class SimpleVector<SeqPosition>