Esempio n. 1
0
 public Node getNodeForData(Data data) {
   String attributeValue = data.getStringAttr(this.condition.attribute.getName());
   int index = condition.getChildPointerPos(attributeValue);
   return this.pointers[index];
 }
Esempio n. 2
0
 public void placeChildNode(Node child, String attributeValue) {
   int index = condition.getChildPointerPos(attributeValue);
   assert (index < pointers.length);
   this.pointers[index] = child;
 }