switch (type) {
case XMLStreamReader.START_ELEMENT:
String name = reader.getLocalName();
if (ELEMENT_TABLE.equalsIgnoreCase(name)) {
AttributeTableImpl table;
if (Boolean.parseBoolean(reader.getAttributeValue(null, "nodetable"))) {
table = model.getNodeTable();
} else if (Boolean.parseBoolean(reader.getAttributeValue(null, "edgetable"))) {
table = model.getEdgeTable();
} else if (Boolean.parseBoolean(reader.getAttributeValue(null, "graphtable"))) {
table = model.getGraphTable();
} else {
table = new AttributeTableImpl(model, "");
}
readTable(reader, table);
if (table != model.getNodeTable() && table != model.getEdgeTable() && table != model.getGraphTable()) {
model.addTable(table);
}