public void refresh() {
this.attributes = new ArrayList<AttributeNode>();
List list = this.attrs.getAttributes();
for (int i = 0; i < list.size(); i++) {
Attribute attr = (Attribute) list.get(i);
AttributeNode attrNode = new AttributeNode(this.attrs, attr);
attrNode.setParent(this);
this.attributes.add(attrNode);
}
}