private XMLAttribute findAttribute(String fullName) {
    for (XMLAttribute attr : attributes) {
      if (attr.getFullName().equals(fullName)) {
        return attr;
      }
    }
    return null;
  }
private XMLAttribute findAttribute(String fullName)