}
}
}
public void readXML(XMLStreamReader reader, Workspace workspace) {
IndexedAttributeModel model = workspace.getLookup().lookup(IndexedAttributeModel.class);
if (model == null) {
model = new IndexedAttributeModel(workspace);
workspace.add(model);
}
AttributeModelSerializer serializer = new AttributeModelSerializer();
try {
serializer.readModel(reader, model);