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