|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MutableTupleNode
A mutable TupleNode used for building TLV Tuple trees.
Method Summary | |
---|---|
void |
addValueChunk(java.nio.ByteBuffer valueChunk)
Adds a buffer containing the entire buffer or a chunked peice of it. |
void |
insert(MutableTupleNode child,
int index)
Adds child to the receiver at index. |
void |
remove(int index)
Removes the child at index from the receiver. |
void |
remove(MutableTupleNode node)
Removes node from the receiver. |
void |
removeFromParent()
Removes the receiver from its parent. |
void |
setParent(MutableTupleNode newParent)
Sets the parent of the receiver to newParent. |
void |
setTuple(Tuple t)
Resets the Tuple of the receiver object. |
void |
setTuple(Tuple t,
java.util.List valueChunks)
Resets the Tuple of the receiver object. |
Methods inherited from interface org.apache.asn1.ber.TupleNode |
---|
accept, encode, equals, getChildCount, getChildren, getChildTupleNodeAt, getIndex, getParentTupleNode, getTuple, getValueChunks, size |
Method Detail |
---|
void insert(MutableTupleNode child, int index)
child
- the child to addindex
- the index at which to insert the childvoid remove(int index)
index
- the index at which to remove the childvoid remove(MutableTupleNode node)
node
- the node to removevoid removeFromParent()
void setParent(MutableTupleNode newParent)
newParent
- the new parent to setvoid setTuple(Tuple t)
t
- the tuple to set for this nodevoid setTuple(Tuple t, java.util.List valueChunks)
t
- the tuple to set for this nodevalueChunks
- the list of value chunk buffersvoid addValueChunk(java.nio.ByteBuffer valueChunk)
valueChunk
- a chunk of the value as a byte buffer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |