private void readScope ( final Element scope , final Map < String , KeyDef > keyDefs ) { final List < Element > maps = new ArrayList <> ( ) ; maps . add ( scope ) ; for ( final Element child : getChildElements ( scope ) ) { collectMaps ( child , maps ) ; } for ( final Element map : maps ) { readMap ( map , keyDefs ) ; } }
Read key definitions from a key scope .