viewer.update(element, null);
} else if (element instanceof ArrayValue) {
ArrayValue arrayValue = (ArrayValue) element;
if (!(arrayValue.getFeatureStructure() instanceof BooleanArrayFS)) {
arrayValue.set((String) value);
}
else {
arrayValue.set(Boolean.toString(
intToBoolean((Integer) value)).toString());
}
document.update(arrayValue.getFeatureStructure());
} else {
throw new TaeError("Unkown element type");
}
}