private void dumpComplexTypeAttribute(XSComplexType type){
  Iterator itr;
  itr=type.iterateAttGroups();
  while (itr.hasNext()) {
    dumpRef((XSAttGroupDecl)itr.next());
  }
  itr=type.iterateDeclaredAttributeUses();
  while (itr.hasNext()) {
    attributeUse((XSAttributeUse)itr.next());
  }
}

private void dumpComplexTypeAttribute ( XSComplexType type ) { Iterator itr ; itr = type . iterateAttGroups ( ) ; while ( itr . hasNext ( ) ) { dumpRef ( ( XSAttGroupDecl ) itr . next ( ) ) ; } itr = type . iterateDeclaredAttributeUses ( ) ; while ( itr . hasNext ( ) ) { attributeUse ( ( XSAttributeUse ) itr . next ( ) ) ; } }
creates node for complex type .
