|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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 |
public void insert(MutableTupleNode child,
int index)
child - the child to addindex - the index at which to insert the childpublic void remove(int index)
index - the index at which to remove the childpublic void remove(MutableTupleNode node)
node - the node to removepublic void removeFromParent()
public void setParent(MutableTupleNode newParent)
newParent - the new parent to setpublic void setTuple(Tuple t)
t - the tuple to set for this node
public void setTuple(Tuple t,
java.util.List valueChunks)
t - the tuple to set for this nodevalueChunks - the list of value chunk bufferspublic void 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 | ||||||||||