org.cdlib.xtf.lazyTree
Interface SearchElement

All Superinterfaces:
SearchNode
All Known Implementing Classes:
ProxyElement, SearchElementImpl

public interface SearchElement
extends SearchNode

This interface is implemented by SearchElement and ProxyElement. It allows setting the attributes, node number, etc. of an element.

Author:
Martin Haye

Method Summary
 void allocateAttributes(int nAttrs)
          Allocate the array for pre-computed attributes
 void setAttribute(int attrNum, int nameCode, String value)
          Set a particular attribute in the array
 void setChildNum(int num)
          Set the number of the first child node
 void setNameCode(int nameCode)
          Set the name code for an element
 
Methods inherited from interface SearchNode
setNextSibNum, setNodeNum, setParentNum, setPrevSibNum
 

Method Detail

setNameCode

void setNameCode(int nameCode)
Set the name code for an element


setChildNum

void setChildNum(int num)
Set the number of the first child node


allocateAttributes

void allocateAttributes(int nAttrs)
Allocate the array for pre-computed attributes


setAttribute

void setAttribute(int attrNum,
                  int nameCode,
                  String value)
Set a particular attribute in the array